aboutsummaryrefslogtreecommitdiffstats
path: root/roles/relayd/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/relayd/tasks/main.yml')
-rw-r--r--roles/relayd/tasks/main.yml7
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:
remember that computers suck.