You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
454 B

  1. ---
  2. - include: sync_file.yml
  3. vars:
  4. sync_file: "auth-ca.pem"
  5. sync_file_dir: "{{ vault_cert_dir }}"
  6. sync_file_hosts: "{{ groups.vault }}"
  7. sync_file_is_cert: true
  8. - name: shared/sync_auth_certs | Set facts for vault sync_file results
  9. set_fact:
  10. vault_auth_ca_cert_needed: "{{ sync_file_results[0]['no_srcs'] }}"
  11. - name: shared/sync_auth_certs | Unset sync_file_results after auth-ca.pem sync
  12. set_fact:
  13. sync_file_results: []