---
- hosts: localhost
vars:
- artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}"
- uuid: "{{lookup('file', 'path/to/file.txt')}}"
tags:
- atomic
- classic
- container
vars:
tasks:
- name: Check uuid
debug:
msg: "UUID is incorrect: {{ uuid }}"
when: uuid != "0ca0390f-4b8e-4d61-b390-12b619ce7b9d"
- fail:
msg: This is a dummy task that will never succeed!