ansible/roles/respondd/tasks/main.yml
Markus Hauschild 5c34da3e62
Some checks failed
continuous-integration/drone/push Build is failing
respondd: bump to version 4fd2e3e6
2021-07-22 08:33:14 +02:00

22 lines
621 B
YAML

---
- name: Install dependencies
apt: name=ethtool
- name: Clone respondd announce repository
git: repo={{ respondd_announce_git_root }} dest=/opt/{{ site_code }}/respondd-announce/ version={{ respondd_announce_git_version }}
notify: Restart respondd
- name: Configure respondd
template: src=respondd.conf.j2 dest=/opt/{{ site_code }}/respondd.conf
notify: Restart respondd
- name: Install systemd unit
template: src=respondd.service.j2 dest=/lib/systemd/system/respondd.service
notify:
- Reload systemd
- Restart respondd
- name: Enable respondd
service: name=respondd state=started enabled=yes