diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2022-10-22 16:41:45 +0200 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2022-10-22 16:41:45 +0200 |
commit | 0df015e9b5c4aefd4245c94ee98021d2af80ed99 (patch) | |
tree | d9dbf4259500857daf41b627dbc2d116ba92dbc1 /roles/relayd | |
parent | 1cd2d31e0d5f81ce066121de78c0ed042fc3b6aa (diff) | |
download | rules-0df015e9b5c4aefd4245c94ee98021d2af80ed99.tar.gz |
lint: pass ansible-lint + yamllint
Diffstat (limited to 'roles/relayd')
-rw-r--r-- | roles/relayd/handlers/main.yml | 2 | ||||
-rw-r--r-- | roles/relayd/tasks/main.yml | 4 |
2 files changed, 3 insertions, 3 deletions
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 |