aboutsummaryrefslogtreecommitdiffstats
path: root/roles/httpd_site_healthcheck
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-10-22 16:41:45 +0200
committerRomain Gonçalves <me@rgoncalves.se>2022-10-22 16:41:45 +0200
commit0df015e9b5c4aefd4245c94ee98021d2af80ed99 (patch)
treed9dbf4259500857daf41b627dbc2d116ba92dbc1 /roles/httpd_site_healthcheck
parent1cd2d31e0d5f81ce066121de78c0ed042fc3b6aa (diff)
downloadrules-0df015e9b5c4aefd4245c94ee98021d2af80ed99.tar.gz
lint: pass ansible-lint + yamllint
Diffstat (limited to 'roles/httpd_site_healthcheck')
-rw-r--r--roles/httpd_site_healthcheck/tasks/main.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/httpd_site_healthcheck/tasks/main.yml b/roles/httpd_site_healthcheck/tasks/main.yml
index 10cd3c8..4834e2d 100644
--- a/roles/httpd_site_healthcheck/tasks/main.yml
+++ b/roles/httpd_site_healthcheck/tasks/main.yml
@@ -1,5 +1,5 @@
- name: create httpd healthcheck directory
- file:
+ ansible.builtin.file:
path: "{{ httpd_chroot }}/htdocs/healthcheck"
owner: "{{ httpd_user }}"
group: "{{ httpd_group }}"
@@ -7,7 +7,7 @@
state: directory
- name: generate generate httpd healthcheck html index
- template:
+ ansible.builtin.template:
src: index.html.j2
dest: "{{ httpd_chroot }}/htdocs/healthcheck/index.html"
owner: "{{ httpd_user }}"
@@ -15,7 +15,7 @@
mode: 0440
- name: generate httpd healthcheck configuration
- template:
+ ansible.builtin.template:
src: httpd.conf.j2
dest: "{{ httpd_configuration_dir }}/healthcheck.conf"
owner: 0
remember that computers suck.