ansible/roles/matrix-mxisd/tasks/main.yml
Hadrien Patte 737ca7b996
Feat: add state
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
2019-03-23 20:05:42 +01:00

16 lines
310 B
YAML

---
- name: Install mxisd
apt:
deb: "{{ mxisd_deb }}"
state: present
register: apt_result
retries: 3
until: apt_result is succeeded
- name: Configure mxisd
template:
src: mxisd/mxisd.yaml.j2
dest: /etc/mxisd/mxisd.yaml
mode: 0600
owner: mxisd
notify: Restart mxisd service