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

35 строки
988 B

  1. - name: Check existence of matrix-goofys service
  2. stat:
  3. path: "{{ matrix_systemd_path }}/matrix-goofys.service"
  4. register: matrix_goofys_service_stat
  5. - name: Ensure matrix-goofys is stopped
  6. service:
  7. name: matrix-goofys
  8. state: stopped
  9. enabled: no
  10. daemon_reload: yes
  11. register: stopping_result
  12. when: "matrix_goofys_service_stat.stat.exists"
  13. - name: Ensure matrix-goofys.service doesn't exist
  14. file:
  15. path: "{{ matrix_systemd_path }}/matrix-goofys.service"
  16. state: absent
  17. when: "matrix_goofys_service_stat.stat.exists"
  18. - name: Ensure systemd reloaded after matrix-goofys.service removal
  19. service:
  20. daemon_reload: yes
  21. when: "matrix_goofys_service_stat.stat.exists"
  22. - name: Ensure goofys environment variables file doesn't exist
  23. file:
  24. path: "{{ matrix_synapse_config_dir_path }}/env-goofys"
  25. state: absent
  26. - name: Ensure Goofys Docker image doesn't exist
  27. docker_image:
  28. name: "{{ matrix_s3_goofys_docker_image }}"
  29. state: absent