aboutsummaryrefslogtreecommitdiffstats
path: root/roles/relayd/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/relayd/tasks')
-rw-r--r--roles/relayd/tasks/main.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/relayd/tasks/main.yml b/roles/relayd/tasks/main.yml
new file mode 100644
index 0000000..5de324c
--- /dev/null
+++ b/roles/relayd/tasks/main.yml
@@ -0,0 +1,15 @@
+
+# relayd ~~ tasks/main.yml
+
+---
+
+- name: Generate relayd configuration
+ template:
+ src: templates/relayd.conf.j2
+ dest: /etc/relayd.conf
+
+- name: Enable and restart relayd
+ service:
+ name: relayd
+ state: restarted
+ enabled: true
remember that computers suck.