fix: call variable vault_addr instead localhost
This commit is contained in:
parent
70c820f3b4
commit
ab60789665
@ -33,7 +33,7 @@
|
||||
- name: Initialise Vault operator
|
||||
ansible.builtin.shell: vault operator init -key-shares=1 -key-threshold=1 -format json
|
||||
environment:
|
||||
VAULT_ADDR: "http://127.0.0.1:8200"
|
||||
VAULT_ADDR: "{{ vault_api_addr }}"
|
||||
register: vault_init_results
|
||||
run_once: true
|
||||
when: check_result.status == 501
|
||||
|
Loading…
Reference in New Issue
Block a user