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.

19 lines
605 B

  1. ---
  2. - include_tasks: ../shared/pki_mount.yml
  3. vars:
  4. pki_mount_path: auth-pki
  5. pki_mount_options:
  6. description: PKI mount to generate certs for the Cert Auth Backend
  7. config:
  8. default_lease_ttl: "{{ vault_default_lease_ttl }}"
  9. max_lease_ttl: "{{ vault_max_lease_ttl }}"
  10. - name: shared/auth_mount | Create a dummy role for issuing certs from auth-pki
  11. hashivault_approle_role_create:
  12. url: "{{ vault_leader_url }}"
  13. token: "{{ vault_root_token }}"
  14. ca_cert: "{{ vault_cert_dir }}/ca.pem"
  15. name: "auth-pki/roles/dummy"
  16. policies:
  17. allow_any_name: true