Files @ 2d15529786b7
Branch filter:

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

branko
MAR-218: Fix linting errors related to commands doing unconditional changes:

- Tasks run during the prepare stage of test runs do not matter.
- Some of the role tasks are already effectively running only when
change _will_ happen (when it is detected via variable registered by
a previous task).
---

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