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.

21 lines
647 B

  1. ---
  2. - include: ../shared/mount.yml
  3. vars:
  4. mount_name: auth-pki
  5. 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. type: pki
  11. - name: shared/auth_mount | Create a dummy role for issuing certs from auth-pki
  12. uri:
  13. url: "{{ hostvars[groups.vault|first]['vault_leader_url'] }}/v1/auth-pki/roles/dummy"
  14. headers: "{{ hostvars[groups.vault|first]['vault_headers'] }}"
  15. method: POST
  16. body_format: json
  17. body:
  18. {'allow_any_name': true}
  19. status_code: 204