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
|
hosts: localhost
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
tasks:
|
tasks:
|
||||||
- debug: var=msg
|
- debug: var=msg
|
||||||
|
|
||||||
|
vars_files:
|
||||||
|
- "/srv/private/vars_loopabull.yml"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- {role: debug, msg: msg}
|
- {role: debug, msg: msg}
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
command: /usr/local/bin/debug.py '{{ msg | to_json }}'
|
command: /usr/local/bin/debug.py '{{ msg | to_json }}'
|
||||||
register: output
|
register: output
|
||||||
environment:
|
environment:
|
||||||
TEST_VARIABLE: \ó/
|
TEST_VARIABLE: {{ debug_token }} + '\ó/'
|
||||||
|
|
||||||
- name: Show the output of the script
|
- name: Show the output of the script
|
||||||
debug:
|
debug:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue