Test sourcing private variable from elsewhere
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
01c3e96690
commit
55563f5395
2 changed files with 5 additions and 2 deletions
|
@ -3,7 +3,10 @@
|
|||
hosts: localhost
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- debug: var=msg
|
||||
- debug: var=msg
|
||||
|
||||
vars_files:
|
||||
- "/srv/private/vars_loopabull.yml"
|
||||
|
||||
roles:
|
||||
- {role: debug, msg: msg}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
command: /usr/local/bin/debug.py '{{ msg | to_json }}'
|
||||
register: output
|
||||
environment:
|
||||
TEST_VARIABLE: \ó/
|
||||
TEST_VARIABLE: {{ debug_token }} + '\ó/'
|
||||
|
||||
- name: Show the output of the script
|
||||
debug:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue