diff options
Diffstat (limited to 'roles/httpd_pre')
-rw-r--r-- | roles/httpd_pre/defaults/main.yml | 8 | ||||
-rw-r--r-- | roles/httpd_pre/tasks/main.yml | 24 |
2 files changed, 0 insertions, 32 deletions
diff --git a/roles/httpd_pre/defaults/main.yml b/roles/httpd_pre/defaults/main.yml deleted file mode 100644 index 3b0acd0..0000000 --- a/roles/httpd_pre/defaults/main.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- - -httpd_configuration_file: /etc/httpd.conf -httpd_configuration_dir: /etc/httpd.d -httpd_chroot: /var/www - -httpd_user: www -httpd_group: www diff --git a/roles/httpd_pre/tasks/main.yml b/roles/httpd_pre/tasks/main.yml deleted file mode 100644 index acc6673..0000000 --- a/roles/httpd_pre/tasks/main.yml +++ /dev/null @@ -1,24 +0,0 @@ ---- - -- name: create httpd directory - ansible.builtin.file: - path: /etc/httpd.d - state: directory - owner: 0 - group: 0 - mode: "0644" - -- name: create htpasswd directory - ansible.builtin.file: - path: /var/www/htpasswd - state: directory - owner: "www" - group: "www" - mode: "0700" - -- name: mount nfs in chroot - ansible.builtin.include_role: - name: nfsclient - vars: - nfsclient_dir: "{{ httpd_chroot }}/data" - when: httpd_use_nfs |