.. Document meta :orphan: .. |antsibull-internal-nbsp| unicode:: 0xA0 :trim: .. role:: ansible-attribute-support-label .. role:: ansible-attribute-support-property .. role:: ansible-attribute-support-full .. role:: ansible-attribute-support-partial .. role:: ansible-attribute-support-none .. role:: ansible-attribute-support-na .. Anchors .. _ansible_collections.cisco.ise.personas_update_roles_module: .. Anchors: short name for ansible.builtin .. Anchors: aliases .. Title cisco.ise.personas_update_roles -- Update the roles of a node +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: This plugin is part of the `cisco.ise collection `_ (version 2.0.0). 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 :code:`ansible-galaxy collection list`. To install it, use: :code:`ansible-galaxy collection install cisco.ise`. To use it in a playbook, specify: :code:`cisco.ise.personas_update_roles`. .. version_added .. versionadded:: 0.0.8 of cisco.ise .. contents:: :local: :depth: 1 .. Deprecated Synopsis -------- .. Description - Update the roles of a node .. note:: This module has a corresponding :ref:`action plugin `. .. Aliases .. Requirements Requirements ------------ The below requirements are needed on the host that executes this module. - requests >= 2.25.1 - python >= 3.5 .. Options Parameters ---------- .. raw:: html
Parameter Choices/Defaults Comments
domain
string
The domain of the 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
local_ip
string
The local IP address of the node
name
string
The name of the node.
password
string
The password to log into the node.
primary_ip
string
The public IP address of the primary node.
primary_password
string
The password for the primary node.
primary_username
string
The username for the primary node.
roles
list / elements=string
The roles to be fulfilled by this node. Possible roles are SPAN or MNT-ACTIVE or MNT-STANDBY or PDP
username
string
The username to log into the node.

.. Attributes .. Notes Notes ----- .. note:: - Does not support ``check_mode`` .. Seealso See Also -------- .. seealso:: :ref:`cisco.ise.plugins.modules.personas_update_roles ` The official documentation on the **cisco.ise.plugins.modules.personas_update_roles** module. .. Examples Examples -------- .. code-block:: yaml+jinja - name: Update roles on the rest of the nodes cisco.ise.personas_update_roles: primary_ip: 10.1.1.1 primary_username: admin primary_password: cisco123 name: "{{ item.name }}" local_ip: "{{ item.local_ip }}" hostname: "{{ item.hostname }}" username: admin password: cisco123 domain: sstcloud.com roles: "{{ item.roles }}" loop: - name: ISE PAN Server 2 local_ip: 10.1.1.2 hostname: ise-pan-server-2 roles: - SPAN - MNT-STANDBY - name: ISE PSN Server 1 local_ip: 10.1.1.3 hostname: ise-psn-server-1 roles: - PDP - name: ISE PSN Server 2 local_ip: 10.1.1.4 hostname: ise-psn-server-2 roles: - PDP .. Facts .. Return values Return Values ------------- Common return values are documented :ref:`here `, the following are the fields unique to this module: .. raw:: html
Key Returned Description
ise_response
string
always
A string stating that the node was successfully updated

Sample:
Node ISE PAN Server 2 updated successfully


.. Status (Presently only deprecated) .. Authors Authors ~~~~~~~ - Rafael Campos (@racampos) .. Parsing errors