blob: eb0af767207bd24c0f7f83950c6d54fed26ee11b (
plain) (
tree)
|
|
# httpd ~~ roles/httpd_pre/main.yml
# prerequisites for `httpd` role
---
- name: ensure httpd.d directory exists
file:
path: /etc/httpd.d
state: directory
owner: "{{ user_root }}"
group: "{{ group_root }}"
mode: 0644
- name: ensure htpasswd directory exists
file:
path: /var/www/htpasswd
state: directory
owner: "www"
group: "www"
mode: 0700
|