2017-09-01 19:51:37 +00:00
|
|
|
---
|
2018-01-29 11:37:48 +00:00
|
|
|
- include_tasks: ../shared/create_mount.yml
|
2017-09-01 19:51:37 +00:00
|
|
|
vars:
|
2018-05-11 16:11:38 +00:00
|
|
|
create_mount_path: "/{{ item.name }}"
|
2017-09-01 19:51:37 +00:00
|
|
|
create_mount_default_lease_ttl: "{{ item.default_lease_ttl }}"
|
|
|
|
create_mount_max_lease_ttl: "{{ item.max_lease_ttl }}"
|
|
|
|
create_mount_description: "{{ item.description }}"
|
|
|
|
create_mount_cert_dir: "{{ item.cert_dir }}"
|
|
|
|
create_mount_config_ca_needed: "{{ item.config_ca }}"
|
|
|
|
with_items:
|
2018-05-11 16:11:38 +00:00
|
|
|
- "{{ vault_pki_mounts.userpass|combine({'config_ca': not vault_ca_cert_needed}) }}"
|
2017-09-01 19:51:37 +00:00
|
|
|
- "{{ vault_pki_mounts.vault|combine({'config_ca': not vault_ca_cert_needed}) }}"
|
|
|
|
- "{{ vault_pki_mounts.etcd|combine({'config_ca': not vault_etcd_ca_cert_needed}) }}"
|