Debian Codegraph @

test/integration/targets/ansible-vault/invalid_format/broken-group-vars-tasks.yml

raw
1 ---
2 - hosts: broken-group-vars
3 gather_facts: false
4 tasks:
5 - name: EXPECTED FAILURE
6 debug:
7 msg: "some_var_that_fails: {{ some_var_that_fails }}"
8
9 - name: EXPECTED FAILURE Display hostvars
10 debug:
11 msg: "{{inventory_hostname}} hostvars: {{ hostvars[inventory_hostname] }}"
12
13
14 # ansible-vault --vault-password-file=vault-secret encrypt_string test
15 # !vault |
16 # $ANSIBLE_VAULT;1.1;AES256
17 # 64323332393930623633306662363165386332376638653035356132646165663632616263653366
18 # 6233383362313531623238613461323861376137656265380a366464663835633065616361636231
19 # 39653230653538366165623664326661653135306132313730393232343432333635326536373935
20 # 3366323866663763660a323766383531396433663861656532373663373134376263383263316261
21 # 3137
22
23 # $ ansible-playbook -i inventory --vault-password-file=vault-secret tasks.yml