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_site_healthcheck/defaults/main.yml | 9 ++++++++- roles/httpd_site_healthcheck/meta/main.yml | 2 ++ roles/httpd_site_healthcheck/tasks/main.yml | 2 ++ 3 files changed, 12 insertions(+), 1 deletion(-) mode change 120000 => 100644 roles/httpd_site_healthcheck/defaults/main.yml (limited to 'roles/httpd_site_healthcheck') diff --git a/roles/httpd_site_healthcheck/defaults/main.yml b/roles/httpd_site_healthcheck/defaults/main.yml deleted file mode 120000 index 52d65d9..0000000 --- a/roles/httpd_site_healthcheck/defaults/main.yml +++ /dev/null @@ -1 +0,0 @@ -../../httpd/defaults/main.yml \ No newline at end of file diff --git a/roles/httpd_site_healthcheck/defaults/main.yml b/roles/httpd_site_healthcheck/defaults/main.yml new file mode 100644 index 0000000..3b0acd0 --- /dev/null +++ b/roles/httpd_site_healthcheck/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_site_healthcheck/meta/main.yml b/roles/httpd_site_healthcheck/meta/main.yml index 6b163d1..dd93239 100644 --- a/roles/httpd_site_healthcheck/meta/main.yml +++ b/roles/httpd_site_healthcheck/meta/main.yml @@ -1,3 +1,5 @@ +--- + dependencies: - role: httpd_pre tags: dependency diff --git a/roles/httpd_site_healthcheck/tasks/main.yml b/roles/httpd_site_healthcheck/tasks/main.yml index 4834e2d..b955e02 100644 --- a/roles/httpd_site_healthcheck/tasks/main.yml +++ b/roles/httpd_site_healthcheck/tasks/main.yml @@ -1,3 +1,5 @@ +--- + - name: create httpd healthcheck directory ansible.builtin.file: path: "{{ httpd_chroot }}/htdocs/healthcheck" -- cgit v1.2.3