aboutsummaryrefslogtreecommitdiffstats
path: root/roles/relayd/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/relayd/tasks')
-rw-r--r--roles/relayd/tasks/main.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/roles/relayd/tasks/main.yml b/roles/relayd/tasks/main.yml
index 5de324c..63cc7f5 100644
--- a/roles/relayd/tasks/main.yml
+++ b/roles/relayd/tasks/main.yml
@@ -3,12 +3,15 @@
---
-- name: Generate relayd configuration
+- name: generate relayd configuration
template:
src: templates/relayd.conf.j2
dest: /etc/relayd.conf
-- name: Enable and restart relayd
+- name: verify relayd configuration
+ shell: relayd -n
+
+- name: enable and restart relayd
service:
name: relayd
state: restarted
remember that computers suck.