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.

16 lines
468 B

  1. ---
  2. - include_tasks: ../shared/sync_file.yml
  3. vars:
  4. sync_file: "ca.pem"
  5. sync_file_dir: "{{ vault_etcd_cert_dir }}"
  6. sync_file_hosts: "{{ groups.etcd }}"
  7. sync_file_is_cert: true
  8. - name: bootstrap/sync_etcd_certs | Set facts for etcd sync_file results
  9. set_fact:
  10. vault_etcd_ca_cert_needed: "{{ sync_file_results[0]['no_srcs'] }}"
  11. - name: bootstrap/sync_etcd_certs | Unset sync_file_results after ca.pem sync
  12. set_fact:
  13. sync_file_results: []