cisco.ise.personas_export_certs module – Export certificate into primary node
Note
This module is part of the cisco.ise collection (version 1.2.1).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install cisco.ise
.
To use it in a playbook, specify: cisco.ise.personas_export_certs
.
New in version 0.0.8: of cisco.ise
Requirements
The below requirements are needed on the host that executes this module.
requests >= 2.25.1
python >= 3.5
Parameters
Parameter |
Comments |
---|---|
The public IP address of the node for which the certificate will be exported. |
|
Whether or not to verify the identity of the node. Choices:
|
|
The version of the ISE node. |
|
Whether or not to wait on rate limit Choices:
|
|
The name of the node for which the certificate will be exported. |
|
The password for the node for which the certificate will be exported. |
|
The public IP address of the primary node. |
|
The password for the primary node. |
|
The username for the primary node. |
|
The username for the node for which the certificate will be exported. |
See Also
See also
- cisco.ise.plugins.modules.personas_export_certs
The official documentation on the cisco.ise.plugins.modules.personas_export_certs module.
Examples
- name: Export trusted certificates into primary node
cisco.ise.personas_export_certs:
primary_ip: 10.1.1.1
primary_username: admin
primary_password: cisco123
name: "{{ item.name }}"
ip: "{{ item.ip }}"
hostname: "{{ item.hostname }}"
username: admin
password: cisco123
loop:
- name: ISE PAN Server 2
ip: 10.1.1.2
hostname: ise-pan-server-2
- name: ISE PSN Server 1
ip: 10.1.1.3
hostname: ise-psn-server-1
- name: ISE PSN Server 2
ip: 10.1.1.4
hostname: ise-psn-server-2
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
A text string stating that the certificate was exported successfully. Returned: always Sample: “The certificate for ISE PAN Server 2 was exported successfully to the primary node” |
Authors
Rafael Campos (@racampos)