File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 become : true
99 apt : package=python-httplib2 state=present
1010
11- # - name: put values into vault
12- # run_once: true
13- # when: write_values is defined
14- # uri:
15- # method=PUT
16- # url=http://{{ ansible_default_ipv4.address }}:8200/v1/{{ item.key }}
17- # HEADER_X-Vault-Token="{{ vault_auth_token }}"
18- # body_format=json
19- # body='{{ item.data | to_json }}'
20- # status_code=200,204
21- # with_items: "{{ vault_seed_values }}"
11+ - name : put values into vault
12+ run_once : true
13+ when : write_values is defined
14+ uri :
15+ method=PUT
16+ url=http://{{ ansible_default_ipv4.address }}:8200/v1/{{ item.key }}
17+ HEADER_X-Vault-Token="{{ vault_auth_token }}"
18+ body_format=json
19+ body='{{ item.data | to_json }}'
20+ status_code=200,204
21+ with_items : " {{ vault_seed_values }}"
2222
2323 - name : check for aws backend in vault
2424 run_once : true
You can’t perform that action at this time.
0 commit comments