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/tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'roles/httpd/tasks/main.yml') diff --git a/roles/httpd/tasks/main.yml b/roles/httpd/tasks/main.yml index a272afa..348ea52 100644 --- a/roles/httpd/tasks/main.yml +++ b/roles/httpd/tasks/main.yml @@ -1,11 +1,11 @@ - name: retrieve all configuration files - find: + ansible.builtin.find: path: "{{ httpd_configuration_dir }}" patterns: "*.conf" register: configuration_files - name: generate httpd configuration - template: + ansible.builtin.template: src: httpd.conf.j2 dest: "{{ httpd_configuration_file }}" owner: 0 @@ -13,7 +13,7 @@ mode: 0644 - name: enable and restart httpd - service: + ansible.builtin.service: name: httpd state: restarted enabled: true -- cgit v1.2.3