Files
@ 5ee6fc8d3513
Branch filter:
Location: majic-ansible-roles/roles/ldap_client/tasks/main.yml - annotation
5ee6fc8d3513
612 B
text/x-yaml
MAR-218: Force handler execution during testing for consistency:
- Otherwise it can easily happen that some handlers never run, leaving
the machine in inconsistent state until they are run by hand.
- Otherwise it can easily happen that some handlers never run, leaving
the machine in inconsistent state until they are run by hand.
c7a0c2eb39ce c7a0c2eb39ce c7a0c2eb39ce c10934519e18 e994537dd735 62014a66e35f c7a0c2eb39ce c89b5e6609a4 c10934519e18 c89b5e6609a4 c89b5e6609a4 c89b5e6609a4 c89b5e6609a4 7cabc17c71c3 c89b5e6609a4 c7a0c2eb39ce c10934519e18 e994537dd735 e994537dd735 e994537dd735 e994537dd735 7cabc17c71c3 7387caca37f3 7387caca37f3 c10934519e18 fcf5abdd3ad5 7387caca37f3 7387caca37f3 | ---
- name: Install OpenLDAP client tools
ansible.builtin.apt:
name: ldap-utils
state: present
- name: Set-up LDAP client configuration directory
ansible.builtin.file:
path: /etc/ldap/
state: directory
owner: root
group: root
mode: "0755"
- name: Deploy LDAP client configuration file
ansible.builtin.template:
src: ldap.conf.j2
dest: /etc/ldap/ldap.conf
owner: root
group: root
mode: "0644"
- name: Explicitly run all handlers
ansible.builtin.include_tasks: ../handlers/main.yml
when: "run_handlers | default(False) | bool()"
tags:
- handlers
|