2014-02-20 21:23:51 +01:00
|
|
|
---
|
|
|
|
- hosts: testhost
|
|
|
|
vars_files:
|
|
|
|
- vars/test_hash_vars.yml
|
|
|
|
vars:
|
|
|
|
test_hash:
|
|
|
|
playbook_vars: "this is a playbook variable"
|
|
|
|
replaced_hash:
|
|
|
|
extra_args: "this is an extra arg"
|
|
|
|
merged_hash:
|
2016-07-02 14:16:33 +02:00
|
|
|
default_vars: "this is in role defaults/main.yml"
|
2014-02-20 21:23:51 +01:00
|
|
|
extra_args: "this is an extra arg"
|
|
|
|
group_vars_all: "this is in group_vars/all"
|
|
|
|
host_vars_testhost: "this is in host_vars/testhost"
|
|
|
|
playbook_vars: "this is a playbook variable"
|
|
|
|
role_argument: "this is a role argument variable"
|
|
|
|
role_vars: "this is in role vars/main.yml"
|
|
|
|
vars_file: "this is in a vars_file"
|
|
|
|
roles:
|
|
|
|
- { role: test_hash_behavior, test_hash: {'role_argument':'this is a role argument variable'} }
|