Matrix Docker Ansible eploy
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 

26 satır
867 B

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