1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/hash/test_hash.yml
Sam Doran 59e541e31a
Change behavior to behaviour in docs and tests (#39392)
* Change behavior to behaviour

- use existing fact to get hash setting rather than shell task
- fix code highlighting syntax in playbooks_variables.rst

* Re-wrote intro section; this entire topic needs a clean-up/rewrite.
2018-05-17 14:07:12 -04:00

21 lines
726 B
YAML

- 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:
default_vars: "this is in role defaults/main.yml"
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_behaviour
test_hash:
role_argument: 'this is a role argument variable'