/test/integration/test_hash.yml

https://github.com/ajanthanm/ansible · YAML · 20 lines · 20 code · 0 blank · 0 comment · 0 complexity · 14f3fa3c08836ca8d3b2350c0ee7eaff MD5 · raw file

  1. ---
  2. - hosts: testhost
  3. vars_files:
  4. - vars/test_hash_vars.yml
  5. vars:
  6. test_hash:
  7. playbook_vars: "this is a playbook variable"
  8. replaced_hash:
  9. extra_args: "this is an extra arg"
  10. merged_hash:
  11. default_vars: "this is in role default/main.yml"
  12. extra_args: "this is an extra arg"
  13. group_vars_all: "this is in group_vars/all"
  14. host_vars_testhost: "this is in host_vars/testhost"
  15. playbook_vars: "this is a playbook variable"
  16. role_argument: "this is a role argument variable"
  17. role_vars: "this is in role vars/main.yml"
  18. vars_file: "this is in a vars_file"
  19. roles:
  20. - { role: test_hash_behavior, test_hash: {'role_argument':'this is a role argument variable'} }