Files
@ 814be5def61d
Branch filter:
Location: majic-ansible-roles/testsite/playbooks/ldap.yml - annotation
814be5def61d
805 B
text/x-yaml
MAR-189: Added support for Debian 11 Bullseye to xmpp_server role:
- Roll-out LDAP client configuration since Bullseye does not come with
a stock one at /etc/ldap/ldap.conf that sets the trust anchor
correctly for validating LDAP server certificates.
- Drop the backports pinning in case of Bullseye (for now let's try to
keep the Buster and Bullseye at same versions for simplicity).
- Drop installation of Python apt bindings (no longer used).
- Tests for Buster and Bullseye need to be split-up a bit due to some
differences around backports etc.
- Roll-out LDAP client configuration since Bullseye does not come with
a stock one at /etc/ldap/ldap.conf that sets the trust anchor
correctly for validating LDAP server certificates.
- Drop the backports pinning in case of Bullseye (for now let's try to
keep the Buster and Bullseye at same versions for simplicity).
- Drop installation of Python apt bindings (no longer used).
- Tests for Buster and Bullseye need to be split-up a bit due to some
differences around backports etc.
0c81b8598748 0c81b8598748 0c81b8598748 0c81b8598748 b56ccd5a92ee 0c81b8598748 0c81b8598748 7ab6518de03b 0c81b8598748 0c81b8598748 f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f | ---
- hosts: ldap
remote_user: ansible
become: true
roles:
- common
- mail_forwarder
- ldap_client
- ldap_server
- hosts: ldap
remote_user: ansible
become: true
tasks:
- name: Add users to mail LDAP group
ldap_attr:
dn: "cn=mail,ou=groups,{{ testsite_ldap_base }}"
name: uniqueMember
values:
- "uid=johndoe,ou=people,{{ testsite_ldap_base }}"
- "uid=janedoe,ou=people,{{ testsite_ldap_base }}"
state: present
- name: Add user to XMPP LDAP group
ldap_attr:
dn: "cn=xmpp,ou=groups,{{ testsite_ldap_base }}"
name: uniqueMember
values:
- "uid=johndoe,ou=people,{{ testsite_ldap_base }}"
- "uid=janedoe,ou=people,{{ testsite_ldap_base }}"
state: present
|