Make the linter happy.

This commit is contained in:
jakicoll 2023-02-06 16:29:25 +01:00
parent f3ca4a0632
commit be634168ac
7 changed files with 12 additions and 9 deletions

View File

@ -1,3 +1,5 @@
---
- name: Checkout Prosody Auth Matrix User Verification Plugin Repo
ansible.builtin.git:
repo: "{{ matrix_jitsi_prosody_auth_matrix_user_verification_repo_location }}"
@ -6,7 +8,7 @@
- name: Install Prosody Auth Matrix User Verification Plugin
ansible.builtin.copy:
remote_src: yes
remote_src: true
src: "{{ matrix_jitsi_prosody_auth_matrix_user_verification_repo_target }}/{{ item.path }}"
dest: "{{ matrix_jitsi_prosody_plugins_path }}/{{ item.path }}"
with_items: "{{ matrix_jitsi_prosody_auth_matrix_files }}"

View File

@ -1,3 +1,5 @@
---
- name: Remove all files regarding prosody mod auth_matrix_user_verification and .well-known/element/jitsi
ansible.builtin.file:
path: "{{ item }}"
@ -14,7 +16,7 @@
- rmdir
- "{{ matrix_static_files_base_path }}/.well-known/element"
removes: "{{matrix_static_files_base_path}}/.well-known/element"
ignore_errors: yes
ignore_errors: true
- when: matrix_jitsi_prosody_auth_matrix_user_verification_uninstalled.changed
block:

View File

@ -45,7 +45,6 @@
or (matrix_jitsi_auth_type == 'matrix' and matrix_jitsi_prosody_auth_matrix_uvs_auth_token|length == 0))
- name: (Deprecation) Catch and report renamed settings
ansible.builtin.fail:
msg: >-

View File

@ -2,5 +2,5 @@
- name: Ensure systemd reloaded after matrix-user-verification-service.service installation
service:
daemon_reload: yes
daemon_reload: true
listen: "reload matrix-user-verification-service"

View File

@ -8,7 +8,7 @@
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
with_items:
- { path: "{{ matrix_user_verification_service_config_path }}", when: true }
- {path: "{{ matrix_user_verification_service_config_path }}", when: true}
when: item.when | bool
- name: Ensure Matrix User Verification Service image is pulled

View File

@ -11,7 +11,7 @@
service:
name: "{{ matrix_user_verification_service_systemd_service_basename }}"
state: stopped
daemon_reload: yes
daemon_reload: true
register: stopping_result
- name: Ensure matrix-user-verification-service.service doesn't exist