# Run after role test, check if role created expected files
- hosts: localhost
tags:
- atomic
- classic
- container
tasks:
- name: check if artifacts is created locally
shell: ls artifacts/test.log
delegate_to: localhost
# remove artifacts directory after check so it does not affect other tests
- name: remove artifacts directory
shell: rm -rf artifacts
delegate_to: localhost