Files @ e0dc1c1cfaa8
Branch filter:

Location: majic-ansible-roles/roles/ldap_client/tasks/main.yml

branko
MAR-189: Added support for Debian 11 Bullseye to mail_server role:

- Shorten the backup client username so it would be under 32
characters.
- Switch all helper VMs to using the Debian 11 Bullseye as well.
- Drop the architecture suffix from hostnames.
- Update the hostname for client VMs.
- Fix the incorrect format for the message ID used in various mail
delivery tests.
---

- 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