2017-02-08 21:41:36 +00:00
|
|
|
---
|
|
|
|
|
2018-01-29 11:37:48 +00:00
|
|
|
- include_tasks: sync_file.yml
|
2017-02-08 21:41:36 +00:00
|
|
|
vars:
|
|
|
|
sync_file: "auth-ca.pem"
|
|
|
|
sync_file_dir: "{{ vault_cert_dir }}"
|
|
|
|
sync_file_hosts: "{{ groups.vault }}"
|
|
|
|
sync_file_is_cert: true
|
|
|
|
|
|
|
|
- name: shared/sync_auth_certs | Set facts for vault sync_file results
|
|
|
|
set_fact:
|
|
|
|
vault_auth_ca_cert_needed: "{{ sync_file_results[0]['no_srcs'] }}"
|
|
|
|
|
|
|
|
|
|
|
|
- name: shared/sync_auth_certs | Unset sync_file_results after auth-ca.pem sync
|
|
|
|
set_fact:
|
|
|
|
sync_file_results: []
|