hashivault_pki_role_list – Hashicorp Vault PKI List Roles¶
New in version 4.5.0.
Synopsis¶
This module returns a list of available roles.
Only the role names are returned, not any values.
Requirements¶
The below requirements are needed on the host that executes this module.
hvac>=0.10.1
ansible>=2.0.0
requests
Parameters¶
Examples¶
---
- hosts: localhost
tasks:
- hashivault_pki_role_list:
mount_point: pki
register: roles_list
- debug: msg="{{ roles_list.data }}"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
data
list
|
success |
list of roles, if pki engine has no roles will return empty list
|
Status¶
This module is not guaranteed to have a backwards compatible interface. [preview]
This module is maintained by the Ansible Community. [community]
Authors¶
UNKNOWN
Hint
If you notice any issues in this documentation, you can edit this document to improve it.