Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

20 строки
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