Files @ ec2d038c9332
Branch filter:

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

branko
MAR-107: Initial test config for role 'backup_server':

- Added Molecule configuration with two instances (for testing mandatory and
optional parameters).
- Added test playbook that sets-up the two instances.
- Added test data (SSH keys).
---

- 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