cisco.ise.node_deployment module – Resource module for Node Deployment
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.node_deployment
.
New in version 1.0.0: of cisco.ise
Synopsis
Manage operations create, update and delete of the resource Node Deployment.
Note
This module has a corresponding action plugin.
Requirements
The below requirements are needed on the host that executes this module.
ciscoisesdk >= 1.1.0
python >= 3.5
Parameters
Parameter |
Comments |
---|---|
Node Deployment’s administration. |
|
IsEnabled flag. Choices:
|
|
Node Deployment’s role. |
|
Node Deployment’s fdqn. |
|
Node Deployment’s generalSettings. |
|
Node Deployment’s monitoring. |
|
EnablePXGrid flag. Choices:
|
|
IsEnabled flag. Choices:
|
|
IsMntDedicated flag. Choices:
|
|
Node Deployment’s otherMonitoringNode. |
|
Node Deployment’s policyservice. |
|
Enabled flag. Choices:
|
|
EnableDeviceAdminService flag. Choices:
|
|
EnableNACService flag. Choices:
|
|
EnablePassiveIdentityService flag. Choices:
|
|
EnableProfilingService flag. Choices:
|
|
Node Deployment’s sessionService. |
|
IsEnabled flag. Choices:
|
|
Node Deployment’s nodegroup. |
|
Node Deployment’s sxpservice. |
|
IsEnabled flag. Choices:
|
|
Node Deployment’s userInterface. |
|
Node Deployment’s role. |
|
Hostname path parameter. Node name of the existing deployed node. |
|
Flag for Identity Services Engine SDK to enable debugging. Choices:
|
|
The Identity Services Engine hostname. |
|
The Identity Services Engine password to authenticate. |
|
The Identity Services Engine username to authenticate. |
|
Flag that informs the SDK whether to use the Identity Services Engine’s API Gateway to send requests. If it is true, it uses the ISE’s API Gateway and sends requests to https://{{ise_hostname}}. If it is false, it sends the requests to https://{{ise_hostname}}:{{port}}, where the port value depends on the Service used (ERS, Mnt, UI, PxGrid). Choices:
|
|
Flag to enable or disable SSL certificate verification. Choices:
|
|
Informs the SDK which version of Identity Services Engine to use. Default: “3.1.0” |
|
Flag for Identity Services Engine SDK to enable automatic rate-limit handling. Choices:
|
|
Node Deployment’s password. |
|
Node Deployment’s profileConfiguration. |
|
Node Deployment’s activeDirectory. |
|
Node Deployment’s daysBeforeRescan. |
|
Node Deployment’s description. |
|
Enabled flag. Choices:
|
|
Node Deployment’s dhcp. |
|
Node Deployment’s description. |
|
Enabled flag. Choices:
|
|
Node Deployment’s interface. |
|
Node Deployment’s port. |
|
Node Deployment’s dhcpSpan. |
|
Node Deployment’s description. |
|
Enabled flag. Choices:
|
|
Node Deployment’s interface. |
|
Node Deployment’s dns. |
|
Node Deployment’s description. |
|
Enabled flag. Choices:
|
|
Node Deployment’s http. |
|
Node Deployment’s description. |
|
Enabled flag. Choices:
|
|
Node Deployment’s interface. |
|
Node Deployment’s netflow. |
|
Node Deployment’s description. |
|
Enabled flag. Choices:
|
|
Node Deployment’s interface. |
|
Node Deployment’s port. |
|
Node Deployment’s nmap. |
|
Node Deployment’s description. |
|
Enabled flag. Choices:
|
|
Node Deployment’s pxgrid. |
|
Node Deployment’s description. |
|
Enabled flag. Choices:
|
|
Node Deployment’s radius. |
|
Node Deployment’s description. |
|
Enabled flag. Choices:
|
|
Node Deployment’s snmpQuery. |
|
Node Deployment’s description. |
|
Enabled flag. Choices:
|
|
Node Deployment’s eventTimeout. |
|
Node Deployment’s retries. |
|
Node Deployment’s timeout. |
|
Node Deployment’s snmpTrap. |
|
Node Deployment’s description. |
|
Node Deployment’s interface. |
|
LinkTrapQuery flag. Choices:
|
|
MacTrapQuery flag. Choices:
|
|
Node Deployment’s port. |
|
Node Deployment’s userName. |
See Also
See also
- Node Deployment reference
Complete reference of the Node Deployment object model.
Examples
- name: Create
cisco.ise.node_deployment:
ise_hostname: "{{ise_hostname}}"
ise_username: "{{ise_username}}"
ise_password: "{{ise_password}}"
ise_verify: "{{ise_verify}}"
state: present
administration:
isEnabled: true
role: string
fdqn: string
generalSettings:
monitoring:
enablePXGrid: true
isEnabled: true
isMntDedicated: true
otherMonitoringNode: string
policyservice:
enableDeviceAdminService: true
enableNACService: true
enablePassiveIdentityService: true
enableProfilingService: true
enabled: true
sessionService:
isEnabled: true
nodegroup: string
sxpservice:
isEnabled: true
userInterface: string
role: string
password: string
profileConfiguration:
activeDirectory:
daysBeforeRescan: 0
description: string
enabled: true
dhcp:
description: string
enabled: true
interface: string
port: {}
dhcpSpan:
description: string
enabled: true
interface: string
dns:
description: string
enabled: true
http:
description: string
enabled: true
interface: string
netflow:
description: string
enabled: true
interface: string
port: {}
nmap:
description: string
enabled: true
pxgrid:
description: string
enabled: true
radius:
description: string
enabled: true
snmpQuery:
description: string
enabled: true
eventTimeout: 0
retries: 0
timeout: 0
snmpTrap:
description: string
interface: string
linkTrapQuery: true
macTrapQuery: true
port: {}
userName: string
- name: Update by name
cisco.ise.node_deployment:
ise_hostname: "{{ise_hostname}}"
ise_username: "{{ise_username}}"
ise_password: "{{ise_password}}"
ise_verify: "{{ise_verify}}"
state: present
generalSettings:
monitoring:
enablePXGrid: true
isEnabled: true
isMntDedicated: true
otherMonitoringNode: string
policyservice:
enableDeviceAdminService: true
enableNACService: true
enablePassiveIdentityService: true
enableProfilingService: true
enabled: true
sessionService:
isEnabled: true
nodegroup: string
sxpservice:
isEnabled: true
userInterface: string
role: string
hostname: string
profileConfiguration:
activeDirectory:
daysBeforeRescan: 0
description: string
enabled: true
dhcp:
description: string
enabled: true
interface: string
port: {}
dhcpSpan:
description: string
enabled: true
interface: string
dns:
description: string
enabled: true
http:
description: string
enabled: true
interface: string
netflow:
description: string
enabled: true
interface: string
port: {}
nmap:
description: string
enabled: true
pxgrid:
description: string
enabled: true
radius:
description: string
enabled: true
snmpQuery:
description: string
enabled: true
eventTimeout: 0
retries: 0
timeout: 0
snmpTrap:
description: string
interface: string
linkTrapQuery: true
macTrapQuery: true
port: {}
- name: Delete by name
cisco.ise.node_deployment:
ise_hostname: "{{ise_hostname}}"
ise_username: "{{ise_username}}"
ise_password: "{{ise_password}}"
ise_verify: "{{ise_verify}}"
state: absent
hostname: string
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
A dictionary or list with the response returned by the Cisco ISE Python SDK Returned: always Sample: “{\n \”hostname\”: \”string\”,\n \”fqdn\”: \”string\”,\n \”ipAddress\”: \”string\”,\n \”nodeType\”: \”string\”,\n \”administration\”: {\n \”isEnabled\”: true,\n \”role\”: \”string\”\n },\n \”generalSettings\”: {\n \”monitoring\”: {\n \”isEnabled\”: true,\n \”role\”: \”string\”,\n \”otherMonitoringNode\”: \”string\”,\n \”isMntDedicated\”: true,\n \”policyservice\”: {\n \”enabled\”: true,\n \”sessionService\”: {\n \”isEnabled\”: true,\n \”nodegroup\”: \”string\”\n },\n \”enableProfilingService\”: true,\n \”enableNACService\”: true,\n \”sxpservice\”: {\n \”isEnabled\”: true,\n \”userInterface\”: \”string\”\n },\n \”enableDeviceAdminService\”: true,\n \”enablePassiveIdentityService\”: true\n },\n \”enablePXGrid\”: true\n }\n },\n \”profilingConfiguration\”: {\n \”netflow\”: {\n \”enabled\”: true,\n \”interface\”: \”string\”,\n \”port\”: {},\n \”description\”: \”string\”\n },\n \”dhcp\”: {\n \”enabled\”: true,\n \”interface\”: \”string\”,\n \”port\”: {},\n \”description\”: \”string\”\n },\n \”dhcpSpan\”: {\n \”enabled\”: true,\n \”interface\”: \”string\”,\n \”description\”: \”string\”\n },\n \”http\”: {\n \”enabled\”: true,\n \”interface\”: \”string\”,\n \”description\”: \”string\”\n },\n \”radius\”: {\n \”enabled\”: true,\n \”description\”: \”string\”\n },\n \”nmap\”: {\n \”enabled\”: true,\n \”description\”: \”string\”\n },\n \”dns\”: {\n \”enabled\”: true,\n \”description\”: \”string\”\n },\n \”snmpQuery\”: {\n \”enabled\”: true,\n \”description\”: \”string\”,\n \”retries\”: 0,\n \”timeout\”: 0,\n \”eventTimeout\”: 0\n },\n \”snmpTrap\”: {\n \”linkTrapQuery\”: true,\n \”macTrapQuery\”: true,\n \”interface\”: \”string\”,\n \”port\”: {},\n \”description\”: \”string\”\n },\n \”activeDirectory\”: {\n \”enabled\”: true,\n \”daysBeforeRescan\”: 0,\n \”description\”: \”string\”\n },\n \”pxgrid\”: {\n \”enabled\”: true,\n \”description\”: \”string\”\n }\n }\n}\n” |
|
A dictionary or list with the response returned by the Cisco ISE Python SDK Returned: always Sample: “{\n \”code\”: 0,\n \”message\”: \”string\”,\n \”rootCause\”: \”string\”\n}\n” |
Authors
Rafael Campos (@racampos)