Matrix Docker Ansible eploy
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 

20 řádky
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