Files @ 3722152897ec
Branch filter:

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

branko
MAR-218: Disable Ansible lints for prefixed role variable names:

- At this point in time, it does not make much sense to introduce
prefixing and breaking every single role invocation.
- Might be worth revisting down the line, although it would require
understanding a bit more clearly if prefixing has any kind of
special logic handling or it's pure guidelines.
---

- 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_tasks: ../handlers/main.yml
  when: "run_handlers | default(False) | bool()"
  tags:
    - handlers