Test sourcing private variable from elsewhere

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2018-08-08 15:14:29 +02:00
parent 01c3e96690
commit 55563f5395
2 changed files with 5 additions and 2 deletions

View file

@ -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}

View file

@ -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: