From db698b595e7ff088c96d00ef5285a0d634aff1be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Mon, 12 Dec 2022 22:15:01 +0100 Subject: refactor: pass ansible-lint with yaml header --- roles/httpd_pre/defaults/main.yml | 9 ++++++++- roles/httpd_pre/tasks/main.yml | 2 ++ 2 files changed, 10 insertions(+), 1 deletion(-) mode change 120000 => 100644 roles/httpd_pre/defaults/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 120000 index 52d65d9..0000000 --- a/roles/httpd_pre/defaults/main.yml +++ /dev/null @@ -1 +0,0 @@ -../../httpd/defaults/main.yml \ No newline at end of file diff --git a/roles/httpd_pre/defaults/main.yml b/roles/httpd_pre/defaults/main.yml new file mode 100644 index 0000000..3b0acd0 --- /dev/null +++ b/roles/httpd_pre/defaults/main.yml @@ -0,0 +1,8 @@ +--- + +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 index 46475d2..39cb1c7 100644 --- a/roles/httpd_pre/tasks/main.yml +++ b/roles/httpd_pre/tasks/main.yml @@ -1,3 +1,5 @@ +--- + - name: create httpd directory ansible.builtin.file: path: /etc/httpd.d -- cgit v1.2.3