---
- 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