2023-02-06 15:29:25 +00:00
|
|
|
---
|
|
|
|
|
2023-01-04 12:45:37 +00:00
|
|
|
- name: Checkout Prosody Auth Matrix User Verification Plugin Repo
|
|
|
|
ansible.builtin.git:
|
|
|
|
repo: "{{ matrix_jitsi_prosody_auth_matrix_user_verification_repo_location }}"
|
|
|
|
dest: "{{ matrix_jitsi_prosody_auth_matrix_user_verification_repo_target }}"
|
|
|
|
version: "{{ matrix_jitsi_prosody_auth_matrix_user_verification_repo_version }}"
|
2023-03-07 15:28:10 +00:00
|
|
|
become: true
|
|
|
|
become_user: "{{ matrix_user_username }}"
|
2023-01-04 12:45:37 +00:00
|
|
|
|
|
|
|
- name: Install Prosody Auth Matrix User Verification Plugin
|
|
|
|
ansible.builtin.copy:
|
2023-02-06 15:29:25 +00:00
|
|
|
remote_src: true
|
2023-01-04 12:45:37 +00:00
|
|
|
src: "{{ matrix_jitsi_prosody_auth_matrix_user_verification_repo_target }}/{{ item.path }}"
|
|
|
|
dest: "{{ matrix_jitsi_prosody_plugins_path }}/{{ item.path }}"
|
2023-03-07 15:28:10 +00:00
|
|
|
mode: 0644
|
|
|
|
owner: "{{ matrix_user_username }}"
|
|
|
|
group: "{{ matrix_user_groupname }}"
|
2023-01-04 12:45:37 +00:00
|
|
|
with_items: "{{ matrix_jitsi_prosody_auth_matrix_files }}"
|
|
|
|
when: item.when | bool
|