Matrix Docker Ansible eploy
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 

37 рядки
998 B

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