cisco.ise.network_device – Resource module for Network Device¶
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.network_device
.
New in version 1.0.0: of cisco.ise
Synopsis¶
Manage operations create, update and delete of the resource Network Device.
Note
This module has a corresponding action plugin.
Parameters¶
See Also¶
See also
- cisco.ise.plugins.module_utils.definitions.network_device
The official documentation on the cisco.ise.plugins.module_utils.definitions.network_device module.
- Network Device reference
Complete reference of the Network Device object model.
Examples¶
- name: Create
cisco.ise.network_device:
ise_hostname: "{{ise_hostname}}"
ise_username: "{{ise_username}}"
ise_password: "{{ise_password}}"
ise_verify: "{{ise_verify}}"
state: present
NetworkDeviceGroupList:
- Location#All Locations
- IPSEC#Is IPSEC Device#No
- Device Type#All Device Types
NetworkDeviceIPList:
- ipaddress: 1.2.3.4
mask: 32
authenticationSettings:
networkProtocol: RADIUS
radiusSharedSecret: C1sco12345
description: ''
name: nad
tacacsSettings:
connectModeOptions: false
sharedSecret: C1sco12345
- name: Update by id
cisco.ise.network_device:
ise_hostname: "{{ise_hostname}}"
ise_username: "{{ise_username}}"
ise_password: "{{ise_password}}"
ise_verify: "{{ise_verify}}"
state: present
NetworkDeviceGroupList:
- Location#All Locations
- IPSEC#Is IPSEC Device#No
- Device Type#All Device Types
NetworkDeviceIPList:
- ipaddress: 1.2.3.4
mask: 32
authenticationSettings:
networkProtocol: RADIUS
radiusSharedSecret: C1sco12345
description: ''
id: string
name: nad
tacacsSettings:
connectModeOptions: false
sharedSecret: C1sco12345
- name: Delete by id
cisco.ise.network_device:
ise_hostname: "{{ise_hostname}}"
ise_username: "{{ise_username}}"
ise_password: "{{ise_password}}"
ise_verify: "{{ise_verify}}"
state: absent
id: string
- name: Update by name
cisco.ise.network_device:
ise_hostname: "{{ise_hostname}}"
ise_username: "{{ise_username}}"
ise_password: "{{ise_password}}"
ise_verify: "{{ise_verify}}"
state: present
NetworkDeviceGroupList:
- Location#All Locations
- IPSEC#Is IPSEC Device#No
- Device Type#All Device Types
NetworkDeviceIPList:
- ipaddress: 1.2.3.4
mask: 32
authenticationSettings:
networkProtocol: RADIUS
radiusSharedSecret: C1sco12345
description: ''
name: nad
tacacsSettings:
connectModeOptions: false
sharedSecret: C1sco12345
- name: Delete by name
cisco.ise.network_device:
ise_hostname: "{{ise_hostname}}"
ise_username: "{{ise_username}}"
ise_password: "{{ise_password}}"
ise_verify: "{{ise_verify}}"
state: absent
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:
{}
|
Authors¶
Rafael Campos (@racampos)