Files @ 2006d7eebe25
Branch filter:

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

branko
MAR-22: Initial test implementation for role 'common':

- Added Molecule configuration covering all platforms with two hosts for testing
mandatory and optional parameters, as well as helper machine.
- Created test playbook for deploying necessary roles to servers with specific
configuration settings.
- Added sample data used by the test playbook.
- Added stock test file.
---

- 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=644

- name: Explicitly run all handlers
  include: ../handlers/main.yml
  when: "handlers | default(False) | bool() == True"
  tags:
    - handlers