Matrix Docker Ansible eploy
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 

21 lignes
726 B

  1. ---
  2. - name: Check existence of matrix-mautrix-googlechat service
  3. ansible.builtin.stat:
  4. path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-mautrix-googlechat.service"
  5. register: matrix_mautrix_googlechat_service_stat
  6. - when: matrix_mautrix_googlechat_service_stat.stat.exists | bool
  7. block:
  8. - name: Ensure matrix-mautrix-googlechat is stopped
  9. ansible.builtin.service:
  10. name: matrix-mautrix-googlechat
  11. state: stopped
  12. enabled: false
  13. daemon_reload: true
  14. - name: Ensure matrix-mautrix-googlechat.service doesn't exist
  15. ansible.builtin.file:
  16. path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-mautrix-googlechat.service"
  17. state: absent