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.

35 lines
1.0 KiB

  1. ---
  2. - include: ../shared/check_vault.yml
  3. when: inventory_hostname in groups.vault
  4. - include: ../shared/check_etcd.yml
  5. when: inventory_hostname in groups.vault
  6. ## Vault Cluster Setup
  7. - include: configure.yml
  8. when: inventory_hostname in groups.vault
  9. - include: binary.yml
  10. when: inventory_hostname in groups.vault and vault_deployment_type == "host"
  11. - include: systemd.yml
  12. when: inventory_hostname in groups.vault
  13. - include: init.yml
  14. when: inventory_hostname in groups.vault
  15. - include: unseal.yml
  16. when: inventory_hostname in groups.vault
  17. - include: ../shared/find_leader.yml
  18. when: inventory_hostname in groups.vault
  19. - include: ../shared/pki_mount.yml
  20. when: inventory_hostname == groups.vault|first
  21. - include: ../shared/config_ca.yml
  22. vars:
  23. ca_name: ca
  24. mount_name: pki
  25. when: inventory_hostname == groups.vault|first
  26. ## Vault Policies, Roles, and Auth Backends
  27. - include: role_auth_cert.yml
  28. when: vault_role_auth_method == "cert"
  29. - include: role_auth_userpass.yml
  30. when: vault_role_auth_method == "userpass"