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

26 строки
846 B

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