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.

26 lines
782 B

  1. ---
  2. - include: ../shared/sync_auth_certs.yml
  3. when: inventory_hostname in groups.vault
  4. - include: ../shared/cert_auth_mount.yml
  5. when: inventory_hostname == groups.vault|first
  6. - include: ../shared/auth_backend.yml
  7. vars:
  8. auth_backend_description: A Cert-based Auth primarily for services needing to issue certificates
  9. auth_backend_name: cert
  10. auth_backend_type: cert
  11. when: inventory_hostname == groups.vault|first
  12. - include: gen_auth_ca.yml
  13. when: inventory_hostname in groups.vault and vault_auth_ca_cert_needed
  14. - include: ../shared/config_ca.yml
  15. vars:
  16. ca_name: auth-ca
  17. mount_name: auth-pki
  18. when: inventory_hostname == groups.vault|first and not vault_auth_ca_cert_needed
  19. - include: create_etcd_role.yml
  20. when: inventory_hostname in groups.etcd