From 8ff8f1fa4037defebab29c7c7775ae3372cbe9a7 Mon Sep 17 00:00:00 2001 From: binary Date: Sat, 7 Nov 2020 20:39:07 +0100 Subject: Automate network deployment --- roles/relayd/tasks/main.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 roles/relayd/tasks/main.yml (limited to 'roles/relayd/tasks/main.yml') 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 -- cgit v1.2.3