Files
@ 814be5def61d
Branch filter:
Location: majic-ansible-roles/roles/ldap_client/tasks/main.yml - annotation
814be5def61d
538 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.
c7a0c2eb39ce c7a0c2eb39ce c7a0c2eb39ce e994537dd735 e994537dd735 62014a66e35f c7a0c2eb39ce c89b5e6609a4 c89b5e6609a4 c89b5e6609a4 c89b5e6609a4 c89b5e6609a4 c89b5e6609a4 c89b5e6609a4 c89b5e6609a4 c7a0c2eb39ce e994537dd735 e994537dd735 e994537dd735 e994537dd735 e994537dd735 e994537dd735 7387caca37f3 7387caca37f3 7387caca37f3 fcf5abdd3ad5 7387caca37f3 7387caca37f3 | ---
- name: Install OpenLDAP client tools
apt:
name: ldap-utils
state: present
- name: Set-up LDAP client configuration directory
file:
path: /etc/ldap/
state: directory
owner: root
group: root
mode: 0755
- name: Deploy LDAP client configuration file
template:
src: ldap.conf.j2
dest: /etc/ldap/ldap.conf
owner: root
group: root
mode: 0644
- name: Explicitly run all handlers
include: ../handlers/main.yml
when: "run_handlers | default(False) | bool()"
tags:
- handlers
|