Files
@ 580b2e4cb9a3
Branch filter:
Location: majic-ansible-roles/testsite/playbooks/ldap.yml - annotation
580b2e4cb9a3
915 B
text/x-yaml
MAR-218: Bump Ansible version to 10.4.x:
- Fix the requirements file not depending on the patch release.
- Bump all metadata to reference the new version.
- Fix the requirements file not depending on the patch release.
- Bump all metadata to reference the new version.
0c81b8598748 0c81b8598748 0a435b5ba2cf 0a435b5ba2cf 0c81b8598748 b56ccd5a92ee 0c81b8598748 0c81b8598748 7ab6518de03b 0c81b8598748 0c81b8598748 f4ac7ec4ad7f 0a435b5ba2cf 0a435b5ba2cf f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f 0a435b5ba2cf f4ac7ec4ad7f 0a435b5ba2cf 0a435b5ba2cf 0a435b5ba2cf 0a435b5ba2cf f4ac7ec4ad7f f4ac7ec4ad7f f4ac7ec4ad7f 0a435b5ba2cf f4ac7ec4ad7f 0a435b5ba2cf 0a435b5ba2cf 0a435b5ba2cf 0a435b5ba2cf f4ac7ec4ad7f | ---
- name: Deploy LDAP server
hosts: ldap
remote_user: ansible
become: true
roles:
- common
- mail_forwarder
- ldap_client
- ldap_server
- name: Create data on LDAP server
hosts: ldap
remote_user: ansible
become: true
tasks:
- name: Add users to mail LDAP group
community.general.ldap_attrs:
dn: "cn=mail,ou=groups,{{ testsite_ldap_base }}"
attributes:
uniqueMember:
- "uid=johndoe,ou=people,{{ testsite_ldap_base }}"
- "uid=janedoe,ou=people,{{ testsite_ldap_base }}"
state: present
- name: Add user to XMPP LDAP group
community.general.ldap_attrs:
dn: "cn=xmpp,ou=groups,{{ testsite_ldap_base }}"
attributes:
uniqueMember:
- "uid=johndoe,ou=people,{{ testsite_ldap_base }}"
- "uid=janedoe,ou=people,{{ testsite_ldap_base }}"
state: present
|