From db698b595e7ff088c96d00ef5285a0d634aff1be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Mon, 12 Dec 2022 22:15:01 +0100 Subject: refactor: pass ansible-lint with yaml header --- roles/relayd/defaults/main.yml | 2 ++ roles/relayd/handlers/main.yml | 2 ++ roles/relayd/tasks/main.yml | 2 ++ 3 files changed, 6 insertions(+) (limited to 'roles/relayd') diff --git a/roles/relayd/defaults/main.yml b/roles/relayd/defaults/main.yml index 174a889..7171f53 100644 --- a/roles/relayd/defaults/main.yml +++ b/roles/relayd/defaults/main.yml @@ -1,3 +1,5 @@ +--- + relayd_configuration_file: /etc/relayd.conf relayd_domain_name: example.com relayd_transparent: true diff --git a/roles/relayd/handlers/main.yml b/roles/relayd/handlers/main.yml index 5bc6b49..58e1171 100644 --- a/roles/relayd/handlers/main.yml +++ b/roles/relayd/handlers/main.yml @@ -1,2 +1,4 @@ +--- + - name: lint relayd configuration ansible.builtin.command: "relayd -nf {{ relayd_configuration_file }}" diff --git a/roles/relayd/tasks/main.yml b/roles/relayd/tasks/main.yml index 0396789..35b456d 100644 --- a/roles/relayd/tasks/main.yml +++ b/roles/relayd/tasks/main.yml @@ -1,3 +1,5 @@ +--- + - name: generate relayd configuration ansible.builtin.template: src: relayd.conf.j2 -- cgit v1.2.3