Matrix Docker Ansible eploy
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 

26 righe
774 B

  1. ---
  2. - name: Check existence of matrix-hookshot service
  3. ansible.builtin.stat:
  4. path: "{{ matrix_systemd_path }}/matrix-hookshot.service"
  5. register: matrix_hookshot_service_stat
  6. - name: Ensure matrix-hookshot is stopped
  7. ansible.builtin.service:
  8. name: matrix-hookshot
  9. state: stopped
  10. enabled: false
  11. daemon_reload: true
  12. when: "matrix_hookshot_service_stat.stat.exists"
  13. - name: Ensure matrix-hookshot.service doesn't exist
  14. ansible.builtin.file:
  15. path: "{{ matrix_systemd_path }}/matrix-hookshot.service"
  16. state: absent
  17. when: "matrix_hookshot_service_stat.stat.exists"
  18. - name: Ensure systemd reloaded after matrix-hookshot.service removal
  19. ansible.builtin.service:
  20. daemon_reload: true
  21. when: "matrix_hookshot_service_stat.stat.exists"