Просмотр исходного кода

Skip removing /.well-known/element directory to suppress ansible-lint error

Leaving an orphan directory is okay and can be improved later on.
pull/2457/head
Slavi Pantaleev 3 лет назад
Родитель
Сommit
43a6a035a0
1 измененных файлов: 0 добавлений и 8 удалений
  1. +0
    -8
      roles/custom/matrix-jitsi/tasks/util/setup_jitsi_auth_uvs_uninstall.yml

+ 0
- 8
roles/custom/matrix-jitsi/tasks/util/setup_jitsi_auth_uvs_uninstall.yml Просмотреть файл

@@ -10,14 +10,6 @@
- "{{ matrix_jitsi_prosody_auth_matrix_files | map(attribute='path') | map('regex_replace', '^', matrix_jitsi_prosody_plugins_path+'/') | list }}"
register: matrix_jitsi_prosody_auth_matrix_user_verification_uninstalled

- name: Remove .well-known/element directory if empty
ansible.builtin.command:
argv:
- rmdir
- "{{ matrix_static_files_base_path }}/.well-known/element"
removes: "{{matrix_static_files_base_path}}/.well-known/element"
ignore_errors: true

- when: matrix_jitsi_prosody_auth_matrix_user_verification_uninstalled.changed
block:
- name: Populate service facts


Загрузка…
Отмена
Сохранить