Closed ZelChief closed 1 year ago
Your Ansible installation (or the Python modules on the server) may be old or otherwise faulty.
Try searching for error initializing audit plugin sudoers_audit on any search engine and try some of the workarounds you find. Please report your findings here!
In file setup_jitsi_auth_uvs_install.yml
I have changed become_user
- name: Checkout Prosody Auth Matrix User Verification Plugin Repo
ansible.builtin.git:
repo: "{{ jitsi_prosody_auth_matrix_user_verification_repo_location }}"
dest: "{{ jitsi_prosody_auth_matrix_user_verification_repo_target }}"
version: "{{ jitsi_prosody_auth_matrix_user_verification_repo_version }}"
become: true
become_user: "{{ jitsi_uid }}"
to
- name: Checkout Prosody Auth Matrix User Verification Plugin Repo
ansible.builtin.git:
repo: "{{ jitsi_prosody_auth_matrix_user_verification_repo_location }}"
dest: "{{ jitsi_prosody_auth_matrix_user_verification_repo_target }}"
version: "{{ jitsi_prosody_auth_matrix_user_verification_repo_version }}"
become: true
become_user: "{{ matrix_user_username }}"
and result:
TASK [galaxy/jitsi : Checkout Prosody Auth Matrix User Verification Plugin Repo] ******************
changed: [matrix.mydomain.com]
TASK [galaxy/jitsi : Install Prosody Auth Matrix User Verification Plugin] ************************
changed: [matrix.mydomain.com] => (item={'path': 'mod_auth_matrix_user_verification.lua', 'when': True})
changed: [matrix.mydomain.com] => (item={'path': 'mod_matrix_power_sync.lua', 'when': True})
The Jitsi role has been fixed to not use a uid (jitsi_uid
) for become_user
. If you update your playbook (git pull
) and then update roles (just roles
or make roles
), you'd use the new version which should work fine.
@spantaleev thanks 👍
Describe the bug
Got the following error:
But user
997
on VM isTo Reproduce My
vars.yml
file looks like this:Matrix Server:
Ansible: I run Ansible on macOS 14.0 (23A344).