Files @ 87f4f8572370
Branch filter:

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

branko
MAR-150: Use fixtures for X.509 artefacts in the xmpp_server role:

- Removed the statically generated artefacts.
- Generate X.509 artefacts for tests using Gimmecert.
- Updated paths to point to generated artefacts.
- Introduced cleanup playbook for removing generated artefacts.
---

- 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"