ansible/roles/matrix-mxisd/tasks/main.yml
Hadrien Patte b55a2ee047
Fix: add a retry statement to remote package tasks
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
2019-03-03 19:55:51 +01:00

15 lines
384 B
YAML

---
- name: Install mxisd
apt:
deb: https://github.com/kamax-matrix/mxisd/releases/download/v{{ mxisd_version }}/mxisd_{{ mxisd_version }}_all.deb
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