#143 Cannot invoke roles multiple times.
Opened by astepano. Modified

We cannot write playbooks with a few entries of standard-test-basic.

Problem is in /artifacts directory.

The first call to standard-test-basic will expect that /artifacts is absent - OK
The second call to standard-test-basic will behave unexpectedly, because /artifacts will have been present.


Metadata Update from @astepano:
- Issue assigned to astepano

This issue affects me either.
We can add role or pre-task that checks and delete artifacts before running tests.
For example:

 - name: Delete /tmp/artifacts directory before tests
  file:
    state: "{{ item }}"
    path: /tmp/artifacts/
    with_items:
      - absent
      - directory
Metadata