Use etcd_access_addresses for vault_etcd_url

This commit is contained in:
Hassan Zamani 2017-10-17 19:27:36 +03:30 committed by GitHub
parent c766bd077b
commit 3acc42c5b3

View file

@ -42,7 +42,7 @@ vault_image_tag: "{{ vault_version }}"
vault_bind_address: 0.0.0.0 vault_bind_address: 0.0.0.0
vault_port: 8200 vault_port: 8200
vault_etcd_url: "https://{{ hostvars[groups.etcd[0]]['ip']|d(hostvars[groups.etcd[0]]['ansible_default_ipv4']['address']) }}:2379" vault_etcd_url: "{{ etcd_access_addresses }}"
vault_default_lease_ttl: 720h vault_default_lease_ttl: 720h
vault_max_lease_ttl: 87600h vault_max_lease_ttl: 87600h