From 849bcf0514cb526418d59544171d02b2949ccf34 Mon Sep 17 00:00:00 2001 From: Nick Bebout Date: Fri, 19 Jun 2020 12:42:56 -0500 Subject: [PATCH] Create /srv/web --- roles/httpd/website/tasks/main.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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}}