diff options
Diffstat (limited to 'roles/httpd_pre/tasks/main.yml')
-rw-r--r-- | roles/httpd_pre/tasks/main.yml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/roles/httpd_pre/tasks/main.yml b/roles/httpd_pre/tasks/main.yml index 0209a84..acc6673 100644 --- a/roles/httpd_pre/tasks/main.yml +++ b/roles/httpd_pre/tasks/main.yml @@ -1,21 +1,23 @@ +--- + - name: create httpd directory - file: + ansible.builtin.file: path: /etc/httpd.d state: directory owner: 0 group: 0 - mode: 0644 + mode: "0644" - name: create htpasswd directory - file: + ansible.builtin.file: path: /var/www/htpasswd state: directory owner: "www" group: "www" - mode: 0700 + mode: "0700" - name: mount nfs in chroot - include_role: + ansible.builtin.include_role: name: nfsclient vars: nfsclient_dir: "{{ httpd_chroot }}/data" |