aboutsummaryrefslogtreecommitdiffstats
path: root/roles/relayd/tasks/main.yml
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-07 20:39:07 +0100
committerbinary <me@rgoncalves.se>2020-11-07 20:39:07 +0100
commit8ff8f1fa4037defebab29c7c7775ae3372cbe9a7 (patch)
treee395508f5a962fc9afce777cff08dbfecb0862d4 /roles/relayd/tasks/main.yml
parent352c98322771af117a85904d580e1c062062d634 (diff)
downloadinfrastructure-8ff8f1fa4037defebab29c7c7775ae3372cbe9a7.tar.gz
Automate network deployment
Diffstat (limited to 'roles/relayd/tasks/main.yml')
-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.