cisco.ise.personas_promote_primary – Promote a node as the primary node

Note

This plugin is part of the cisco.ise collection (version 1.1.0).

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.

  • ciscoisesdk >= 1.0.0

  • python >= 3.5

Parameters

Parameter Choices/Defaults Comments
hostname
string
The hostname of the primary node.
ip
string
The public IP address of the primary node
ise_verify
boolean
    Choices:
  • no
  • yes
Whether or not to verify the identity of the node.
ise_version
string
The version of the ISE node.
ise_wait_on_rate_limit
boolean
    Choices:
  • no
  • yes
Whether or not to wait on rate limit
password
string
The password to log into the primary node.
roles
list / elements=string
The roles to be fulfilled by this node. Must contain at least PPAN and any of MNT-ACTIVE or MNT-STANDBY or PDP
username
string
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 Returned Description
ise_response
string
always
A string stating that the node was promoted to primary

Sample:
Primary node was successfully updated


Authors

  • Rafael Campos (@racampos)