diff options
author | binary <me@rgoncalves.se> | 2020-11-07 20:39:07 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-11-07 20:39:07 +0100 |
commit | 8ff8f1fa4037defebab29c7c7775ae3372cbe9a7 (patch) | |
tree | e395508f5a962fc9afce777cff08dbfecb0862d4 /roles/relayd/tasks/main.yml | |
parent | 352c98322771af117a85904d580e1c062062d634 (diff) | |
download | infrastructure-8ff8f1fa4037defebab29c7c7775ae3372cbe9a7.tar.gz |
Automate network deployment
Diffstat (limited to 'roles/relayd/tasks/main.yml')
-rw-r--r-- | roles/relayd/tasks/main.yml | 15 |
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 |