8a1fbed5d6
Fixes #8638
21 lines
542 B
YAML
21 lines
542 B
YAML
---
|
|
- hosts: testhost
|
|
vars:
|
|
- vars_var: "vars_var"
|
|
- param_var: "BAD!"
|
|
- vars_files_var: "BAD!"
|
|
vars_files:
|
|
- vars/test_var_precedence.yml
|
|
roles:
|
|
- { role: test_var_precedence, param_var: "param_var" }
|
|
tasks:
|
|
- debug: var=extra_var
|
|
- debug: var=vars_var
|
|
- debug: var=vars_files_var
|
|
- debug: var=vars_files_var_role
|
|
- assert:
|
|
that:
|
|
- 'extra_var == "extra_var"'
|
|
- 'vars_var == "vars_var"'
|
|
- 'vars_files_var == "vars_files_var"'
|
|
- 'vars_files_var_role == "vars_files_var_role3"'
|