`vars` operates inconsistently in different combinations of Ansible (full/base/core) and Python versions. Variables are now instead explicitly loaded under a subkey, which also removes the need for filtering and makes access more explicit and semantic.
10 lines
238 B
YAML
10 lines
238 B
YAML
---
|
|
- name: include all demo vars from install_demo roll
|
|
include_vars:
|
|
dir: "vars"
|
|
name: job_template_definitions
|
|
|
|
- name: will load vars
|
|
debug:
|
|
msg: "variables loaded from install_demo role into job_template_definitions"
|