Matrix Docker Ansible eploy
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 

20 rader
631 B

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