diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2021-12-21 17:18:47 +0000 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2021-12-21 17:49:50 +0000 |
commit | 14855dcd18d595b9a6988cdbbbd06e05253edcc7 (patch) | |
tree | fc90b8da8b2c9886bfa8a8d6990fd3eb36c2c016 /roles/relayd/tasks | |
parent | 1db6aa5d8167b997924e4b78fdf1c6b8640db8fd (diff) | |
download | rules-14855dcd18d595b9a6988cdbbbd06e05253edcc7.tar.gz |
roles/relayd: Use handler and pass ansible-lint
Diffstat (limited to 'roles/relayd/tasks')
-rw-r--r-- | roles/relayd/tasks/main.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/roles/relayd/tasks/main.yml b/roles/relayd/tasks/main.yml index 14df192..3af5756 100644 --- a/roles/relayd/tasks/main.yml +++ b/roles/relayd/tasks/main.yml @@ -2,9 +2,10 @@ template: src: relayd.conf.j2 dest: "{{ relayd_configuration_file }}" - -- name: verify relayd configuration - command: "relayd -nf {{ relayd_configuration_file }}" + owner: 0 + group: 0 + mode: 0640 + notify: lint relayd configuration - name: enable and restart relayd service: |