From e5a65b550c719f427e0bb46f2e3149092b9e6285 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Mon, 1 Jan 2024 13:26:11 +0100 Subject: refactor(roles/httpd): merge httpd roles --- roles/httpd_pre/defaults/main.yml | 8 -------- roles/httpd_pre/tasks/main.yml | 24 ------------------------ 2 files changed, 32 deletions(-) delete mode 100644 roles/httpd_pre/defaults/main.yml delete mode 100644 roles/httpd_pre/tasks/main.yml (limited to 'roles/httpd_pre') 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 -- cgit v1.2.3