aboutsummaryrefslogtreecommitdiffstats
path: root/roles/httpd_site_healthcheck
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-12-12 22:15:01 +0100
committerRomain Gonçalves <me@rgoncalves.se>2022-12-12 22:15:01 +0100
commitdb698b595e7ff088c96d00ef5285a0d634aff1be (patch)
tree4ec4242098a774e0de7ae1a4637b45b949e4ecce /roles/httpd_site_healthcheck
parentee3e324680a15d59429b1a2a0615fe787d169068 (diff)
downloadrules-db698b595e7ff088c96d00ef5285a0d634aff1be.tar.gz
refactor: pass ansible-lint with yaml header
Diffstat (limited to 'roles/httpd_site_healthcheck')
-rw-r--r--[l---------]roles/httpd_site_healthcheck/defaults/main.yml9
-rw-r--r--roles/httpd_site_healthcheck/meta/main.yml2
-rw-r--r--roles/httpd_site_healthcheck/tasks/main.yml2
3 files changed, 12 insertions, 1 deletions
diff --git a/roles/httpd_site_healthcheck/defaults/main.yml b/roles/httpd_site_healthcheck/defaults/main.yml
index 52d65d9..3b0acd0 120000..100644
--- a/roles/httpd_site_healthcheck/defaults/main.yml
+++ b/roles/httpd_site_healthcheck/defaults/main.yml
@@ -1 +1,8 @@
-../../httpd/defaults/main.yml \ No newline at end of file
+---
+
+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"
remember that computers suck.