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.
 
 

20 lignes
615 B

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