From 0df015e9b5c4aefd4245c94ee98021d2af80ed99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 22 Oct 2022 16:41:45 +0200 Subject: lint: pass ansible-lint + yamllint --- roles/httpd_site_healthcheck/tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'roles/httpd_site_healthcheck/tasks/main.yml') 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 -- cgit v1.2.3