diff --git a/roles/httpd/website/tasks/main.yml b/roles/httpd/website/tasks/main.yml index 58265fd17b..8c3d9508c2 100644 --- a/roles/httpd/website/tasks/main.yml +++ b/roles/httpd/website/tasks/main.yml @@ -59,6 +59,20 @@ - httpd/website - robots +- name: Create /srv/web + file: > + dest=/srv/web + state=directory + owner=root + group=root + mode=0755 + notify: + - reload proxyhttpd + tags: + - httpd + - httpd/website + - robots + - name: And lastly, the robots.txt file template: > src={{item}}