Files @ b1caa3b3c7ad
Branch filter:

Location: majic-ansible-roles/roles/common/molecule/default/cleanup.yml

branko
MAR-150: Refactor the common role tests fixture handling:

- Use the cleanup playbook for removing the X.509 generated
keys/certificates.
- Drop the fixture.yml playbook, and include it inside of prepare
playbook (reduce unnecessary nesting).
---

- name: Clean-up fixtures
  hosts: localhost
  connection: local
  gather_facts: false
  tasks:

    - name: Remove X.509 material
      file:
        path: "{{ item }}"
        state: absent
      with_items:
        - "tests/data/x509"
        - "tests/data/.gimmecert"