cisco.ise.personas_promote_primary module – Promote a node as the primary node
Note
This module is part of the cisco.ise collection (version 2.3.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_promote_primary
.
New in version 0.0.8: of cisco.ise
Synopsis
Promote a node as the primary node
Note
This module has a corresponding action plugin.
Requirements
The below requirements are needed on the host that executes this module.
requests >= 2.25.1
python >= 3.5
Parameters
Parameter |
Comments |
---|---|
The hostname of the primary node. |
|
The public IP address of the primary node |
|
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 password to log into the primary node. |
|
The roles to be fulfilled by this node. Must contain at least PPAN and any of MNT-ACTIVE or MNT-STANDBY or PDP |
|
The username to log into the primary node. |
Notes
Note
Does not support
check_mode
See Also
See also
- cisco.ise.plugins.modules.personas_promote_primary
The official documentation on the cisco.ise.plugins.modules.personas_promote_primary module.
Examples
- name: Promote primary node
cisco.ise.personas_promote_primary:
ip: 10.1.1.1
hostname: ise-pan-server-1
username: admin
password: cisco123
roles:
- PPAN
- MNT-ACTIVE
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
A string stating that the node was promoted to primary Returned: always Sample: “Primary node was successfully updated” |