mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
cd9f926b5f
There's not need to run the complete include through the templating engine. Several variables were not included before the conditional was evaluated.
14 lines
258 B
YAML
14 lines
258 B
YAML
---
|
|
- name: test vars
|
|
action: shell echo $favcolor
|
|
|
|
- name: test vars_files
|
|
action: shell echo $duck
|
|
|
|
- name: test vars condition
|
|
action: shell echo RAN
|
|
only_if: $guard
|
|
|
|
- name: test vars_files condition
|
|
action: shell echo RAN
|
|
only_if: $extguard
|