f73ac53e58
This allows the use of variables in vars_prompt fields but allows variables entered in the prompt to affect play vars rather than throwing an undefined error.
Add tests for vars_prompt
(cherry picked from commit 6d38167d49
)
16 lines
266 B
YAML
16 lines
266 B
YAML
- name: Test vars_prompt not private
|
|
hosts: testhost
|
|
become: no
|
|
gather_facts: no
|
|
|
|
vars_prompt:
|
|
- name: not_secret
|
|
private: no
|
|
|
|
tasks:
|
|
- assert:
|
|
that:
|
|
- not_secret == 'this is displayed'
|
|
|
|
- debug:
|
|
var: not_secret
|