Matrix Docker Ansible eploy
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 

25 righe
957 B

  1. ---
  2. - name: Ensure matrix-synapse-s3-storage-provider-migrate.service and timer don't exist
  3. ansible.builtin.file:
  4. path: "{{ matrix_systemd_path }}/{{ item }}"
  5. state: absent
  6. with_items:
  7. - matrix-synapse-s3-storage-provider-migrate.timer
  8. - matrix-synapse-s3-storage-provider-migrate.service
  9. register: matrix_synapse_s3_storage_provider_migrate_sevice_removal
  10. - name: Ensure systemd reloaded after matrix-synapse-s3-storage-provider-migrate.service removal
  11. ansible.builtin.service:
  12. daemon_reload: true
  13. when: matrix_synapse_s3_storage_provider_migrate_sevice_removal.changed | bool
  14. - name: Ensure s3-storage-provider files don't exist
  15. ansible.builtin.file:
  16. path: "{{ item }}"
  17. state: absent
  18. with_items:
  19. - "{{ matrix_local_bin_path }}/matrix-synapse-s3-storage-provider-shell"
  20. - "{{ matrix_local_bin_path }}/matrix-synapse-s3-storage-provider-migrate"
  21. - "{{ matrix_synapse_ext_s3_storage_provider_path }}"