2017-03-27 20:24:38 +02:00
|
|
|
---
|
|
|
|
|
2017-06-11 20:06:29 +02:00
|
|
|
- name: Install dependencies
|
|
|
|
apt: name=ethtool
|
|
|
|
|
2017-03-27 20:24:38 +02:00
|
|
|
- name: Clone respondd announce repository
|
2018-01-17 09:27:32 +01:00
|
|
|
git: repo={{ respondd_announce_git_root }} dest=/opt/{{ site_code }}/respondd-announce/ version={{ respondd_announce_git_version }}
|
2017-03-27 20:24:38 +02:00
|
|
|
notify: Restart respondd
|
|
|
|
|
2021-07-21 17:33:09 +02:00
|
|
|
- name: Configure respondd
|
|
|
|
template: src=respondd.conf.j2 dest=/opt/{{ site_code }}/respondd.conf
|
|
|
|
notify: Restart respondd
|
|
|
|
|
2018-02-28 14:23:53 +01:00
|
|
|
- name: Install systemd unit
|
2017-03-27 20:24:38 +02:00
|
|
|
template: src=respondd.service.j2 dest=/lib/systemd/system/respondd.service
|
|
|
|
notify:
|
|
|
|
- Reload systemd
|
|
|
|
- Restart respondd
|
|
|
|
|
|
|
|
- name: Enable respondd
|
2018-07-26 10:57:58 +02:00
|
|
|
service: name=respondd state=started enabled=yes
|