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/relayd/handlers/main.yml | 2 +- roles/relayd/tasks/main.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'roles/relayd') diff --git a/roles/relayd/handlers/main.yml b/roles/relayd/handlers/main.yml index 82be0a8..5bc6b49 100644 --- a/roles/relayd/handlers/main.yml +++ b/roles/relayd/handlers/main.yml @@ -1,2 +1,2 @@ - name: lint relayd configuration - command: "relayd -nf {{ relayd_configuration_file }}" + ansible.builtin.command: "relayd -nf {{ relayd_configuration_file }}" diff --git a/roles/relayd/tasks/main.yml b/roles/relayd/tasks/main.yml index 3af5756..0396789 100644 --- a/roles/relayd/tasks/main.yml +++ b/roles/relayd/tasks/main.yml @@ -1,5 +1,5 @@ - name: generate relayd configuration - template: + ansible.builtin.template: src: relayd.conf.j2 dest: "{{ relayd_configuration_file }}" owner: 0 @@ -8,7 +8,7 @@ notify: lint relayd configuration - name: enable and restart relayd - service: + ansible.builtin.service: name: relayd state: restarted enabled: true -- cgit v1.2.3