Skip to content

Commit 77e5cb9

Browse files
author
Bryan Kendall
committed
put back vault values
1 parent 3ecbd18 commit 77e5cb9

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

ansible/vault-values.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@
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

0 commit comments

Comments
 (0)