Files @ abe3f4e5e6a6
Branch filter:

Location: majic-ansible-roles/roles/ldap_client/molecule/default/prepare.yml

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

- Include top-level linting configuration in test configuration.
- Fixed linting errors.
- Moved test playbook variables into group_vars.
- Updated how hosts are referenced in tests.
---

- name: Prepare
  hosts: all
  gather_facts: false
  tasks:
    - name: Install python for Ansible
      raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal)
      become: true
      changed_when: false

- hosts: all
  become: true
  tasks:

    - name: Update all caches to avoid errors due to missing remote archives
      apt:
        update_cache: true
      changed_when: false