Files @ 14eb78a4f466
Branch filter:

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

branko
MAR-129: Updated php_website role for Ansible 2.5.x and new Molecule:

- Include global linting configuration file in tests.
- Fixed linting issues.
- Fix deprecation warnings from Ansible (for apt module and
state=installed).
- Updated how the hosts are being referenced within tests.
---

- 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: "handlers | default(False) | bool() == True"
  tags:
    - handlers