diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2024-01-01 13:26:11 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2024-01-01 13:26:11 +0100 |
commit | e5a65b550c719f427e0bb46f2e3149092b9e6285 (patch) | |
tree | ad5cbf5cac81b49e104ff0ffb5711e37e7f70285 /roles/httpd_pre | |
parent | d5175b4fb930f1ca48e514a4ab8080f050d4c6bc (diff) | |
download | rules-e5a65b550c719f427e0bb46f2e3149092b9e6285.tar.gz |
refactor(roles/httpd): merge httpd roles
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 |