--- - name: Install OpenLDAP client tools apt: name: ldap-utils state: installed - 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: "handlers | default(False) | bool() == True" tags: - handlers