Add vault_cacert to fbsd vault calls
This commit is contained in:
parent
679f43468d
commit
83a13333c9
2 changed files with 4 additions and 3 deletions
|
@ -83,9 +83,9 @@
|
||||||
executable: /usr/local/bin/bash
|
executable: /usr/local/bin/bash
|
||||||
environment:
|
environment:
|
||||||
VAULT_ADDR: https://vault.service.masked.name:8200
|
VAULT_ADDR: https://vault.service.masked.name:8200
|
||||||
VAULT_TOKEN: "{{ lookup('file', lookup('env', 'HOME') + '/.vault-token') }}"
|
|
||||||
VAULT_FORMAT: json
|
|
||||||
VAULT_CACERT: /etc/ssl/certs/MaskedName_Root_CA.crt
|
VAULT_CACERT: /etc/ssl/certs/MaskedName_Root_CA.crt
|
||||||
|
VAULT_FORMAT: json
|
||||||
|
VAULT_TOKEN: "{{ lookup('file', lookup('env', 'HOME') + '/.vault-token') }}"
|
||||||
register: cert_data
|
register: cert_data
|
||||||
when: exp.rc != 0
|
when: exp.rc != 0
|
||||||
|
|
||||||
|
|
|
@ -43,8 +43,9 @@
|
||||||
executable: /usr/local/bin/bash
|
executable: /usr/local/bin/bash
|
||||||
environment:
|
environment:
|
||||||
VAULT_ADDR: https://vault.service.masked.name:8200
|
VAULT_ADDR: https://vault.service.masked.name:8200
|
||||||
VAULT_TOKEN: "{{ lookup('file', lookup('env', 'HOME') + '/.vault-token') }}"
|
VAULT_CACERT: /etc/ssl/certs/MaskedName_Root_CA.crt
|
||||||
VAULT_FORMAT: json
|
VAULT_FORMAT: json
|
||||||
|
VAULT_TOKEN: "{{ lookup('file', lookup('env', 'HOME') + '/.vault-token') }}"
|
||||||
register: cert_data
|
register: cert_data
|
||||||
when: exp.rc != 0
|
when: exp.rc != 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue