cisco.ise.node_group – Resource module for Node Group

Note

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

To install it use: ansible-galaxy collection install cisco.ise.

To use it in a playbook, specify: cisco.ise.node_group.

New in version 1.0.0: of cisco.ise

Synopsis

  • Manage operations create, update and delete of the resource Node Group.

Note

This module has a corresponding action plugin.

Requirements

The below requirements are needed on the host that executes this module.

  • ciscoisesdk

Parameters

Parameter Choices/Defaults Comments
description
string
Node Group's description.
mar_cache
dictionary
Node Group's mar-cache.
enabled
boolean
    Choices:
  • no
  • yes
Enabled flag.
query-attempts
integer
Node Group's query-attempts.
query-timeout
integer
Node Group's query-timeout.
replication-attempts
integer
Node Group's replication-attempts.
replication-timeout
integer
Node Group's replication-timeout.
node_group_name
string
Node-group-name path parameter. ID of the existing node group.

See Also

See also

cisco.ise.plugins.module_utils.definitions.node_group

The official documentation on the cisco.ise.plugins.module_utils.definitions.node_group module.

Node Group reference

Complete reference of the Node Group object model.

Examples

- name: Create
  cisco.ise.node_group:
    ise_hostname: "{{ise_hostname}}"
    ise_username: "{{ise_username}}"
    ise_password: "{{ise_password}}"
    ise_verify: "{{ise_verify}}"
    state: present
    description: string
    mar_cache:
      enabled: true
      query-attempts: 0
      query-timeout: 0
      replication-attempts: 0
      replication-timeout: 0

- name: Update by name
  cisco.ise.node_group:
    ise_hostname: "{{ise_hostname}}"
    ise_username: "{{ise_username}}"
    ise_password: "{{ise_password}}"
    ise_verify: "{{ise_verify}}"
    state: present
    description: string
    mar_cache:
      enabled: true
      query-attempts: 0
      query-timeout: 0
      replication-attempts: 0
      replication-timeout: 0
    node_group_name: string

- name: Delete by name
  cisco.ise.node_group:
    ise_hostname: "{{ise_hostname}}"
    ise_username: "{{ise_username}}"
    ise_password: "{{ise_password}}"
    ise_verify: "{{ise_verify}}"
    state: absent
    node_group_name: string

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key Returned Description
ise_response
dictionary
always
A dictionary or list with the response returned by the Cisco ISE Python SDK

Sample:
{ "code": 0, "message": "string", "rootCause": "string" }


Authors

  • Rafael Campos (@racampos)