mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
12 lines
303 B
YAML
12 lines
303 B
YAML
|
---
|
||
|
- name: Setting the fact for 'test' to 'test value'
|
||
|
set_fact:
|
||
|
test: "test value"
|
||
|
when: "inventory_hostname == groups.all.0"
|
||
|
|
||
|
- name: EXPECTED FAILURE echo jinja eval of a var that should not exist
|
||
|
shell: "echo {{ test }}"
|
||
|
|
||
|
- debug:
|
||
|
msg: "any_errors_fatal_this_should_never_be_reached"
|