Files @ b3e67fd6c0c1
Branch filter:

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

branko
MAR-187: Reorder the deprecation tasks for xmpp_server role to make the runs reliable:

- Deprecated apt repository really needs to be removed first in case
it has an unresolvable URL (so the backports repository cache update
would trigger correctly).
- Use the file removal for Prosody repository as well to make sure the
file is dropped.
---

- name: Install OpenLDAP client tools
  apt:
    name: ldap-utils
    state: present

- 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