File: test_hash.yml

package info (click to toggle)
ansible-core 2.19.0~beta6-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 32,628 kB
  • sloc: python: 180,313; cs: 4,929; sh: 4,601; xml: 34; makefile: 21
file content (22 lines) | stat: -rw-r--r-- 745 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- hosts: testhost
  gather_facts: no
  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'