diff options
author | binary <me@rgoncalves.se> | 2021-03-25 21:54:39 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-03-25 21:54:39 +0100 |
commit | 74203eb6c910506c7c3a7906ed68bfbd8b1e6540 (patch) | |
tree | 04e58f356cdf7c603d9819cd0b185be3d465c9d1 /roles | |
parent | 92a3e3becf353a892a8fad746c313b9ad0373174 (diff) | |
download | infrastructure-74203eb6c910506c7c3a7906ed68bfbd8b1e6540.tar.gz |
Add htpasswd directory
Diffstat (limited to 'roles')
-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 |