diff --git a/roles/ldap_client/tasks/main.yml b/roles/ldap_client/tasks/main.yml index c73295d26dc2d36ddaef2e8f0a32a47fce381985..6462a251c1d6fea559a96ed42d2eefef0c1d3eab 100644 --- a/roles/ldap_client/tasks/main.yml +++ b/roles/ldap_client/tasks/main.yml @@ -1,12 +1,12 @@ --- - name: Install OpenLDAP client tools - apt: + ansible.builtin.apt: name: ldap-utils state: present - name: Set-up LDAP client configuration directory - file: + ansible.builtin.file: path: /etc/ldap/ state: directory owner: root @@ -14,7 +14,7 @@ mode: "0755" - name: Deploy LDAP client configuration file - template: + ansible.builtin.template: src: ldap.conf.j2 dest: /etc/ldap/ldap.conf owner: root @@ -22,7 +22,7 @@ mode: "0644" - name: Explicitly run all handlers - include_tasks: ../handlers/main.yml + ansible.builtin.include_tasks: ../handlers/main.yml when: "run_handlers | default(False) | bool()" tags: - handlers