diff options
Diffstat (limited to 'roles/httpd_pre/tasks')
-rw-r--r-- | roles/httpd_pre/tasks/main.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/roles/httpd_pre/tasks/main.yml b/roles/httpd_pre/tasks/main.yml index 61b052a..eb0af76 100644 --- a/roles/httpd_pre/tasks/main.yml +++ b/roles/httpd_pre/tasks/main.yml @@ -12,4 +12,10 @@ group: "{{ group_root }}" mode: 0644 - +- name: ensure htpasswd directory exists + file: + path: /var/www/htpasswd + state: directory + owner: "www" + group: "www" + mode: 0700 |