Matrix Docker Ansible eploy
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 

26 linhas
822 B

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