proxmox: add dependency for ldap sync script

Install python3-ldap3.
This commit is contained in:
Gašper Fele-Žorž 2024-09-05 10:56:50 +02:00
parent a8b83e833b
commit e2edd63efe

View file

@ -2,6 +2,11 @@
- name: Set up LDAP user synchronization - name: Set up LDAP user synchronization
when: '"sync-ldap" in hostvars[inventory_hostname]' when: '"sync-ldap" in hostvars[inventory_hostname]'
block: block:
- name: Install dependencies
package:
name:
- python3-ldap3
- name: Install LDAP sync script - name: Install LDAP sync script
template: template:
dest: /usr/local/bin/sync-ldap.py dest: /usr/local/bin/sync-ldap.py