cisco.ise.authorization_profile – Resource module for Authorization Profile¶
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.authorization_profile
.
New in version 1.0.0: of cisco.ise
Synopsis¶
Manage operations create, update and delete of the resource Authorization Profile.
Note
This module has a corresponding action plugin.
Parameters¶
See Also¶
See also
- cisco.ise.plugins.module_utils.definitions.authorization_profile
The official documentation on the cisco.ise.plugins.module_utils.definitions.authorization_profile module.
- Authorization Profile reference
Complete reference of the Authorization Profile object model.
Examples¶
- name: Create
cisco.ise.authorization_profile:
ise_hostname: "{{ise_hostname}}"
ise_username: "{{ise_username}}"
ise_password: "{{ise_password}}"
ise_verify: "{{ise_verify}}"
state: present
accessType: ACCESS_ACCEPT
acl: aclfilter
advancedAttributes:
- leftHandSideDictionaryAttribue:
AdvancedAttributeValueType: AdvancedDictionaryAttribute
attributeName: cisco-call-filter
dictionaryName: Cisco
rightHandSideAttribueValue:
AdvancedAttributeValueType: AttributeValue
value: '23'
airespaceACL: ACL
airespaceIPv6ACL: ACL6
asaVpn: Cisco:cisco-call-type
authzProfileType: SWITCH
autoSmartPort: autoSmartPort
avcProfile: avcProfile
daclName: PERMIT_ALL_IPV4_TRAFFIC
description: description
easywiredSessionCandidate: false
id: id
interfaceTemplate: interfaceTemplate
ipv6ACLFilter: ipv6ACLFilter
ipv6DaclName: PERMIT_ALL_IPV6_TRAFFIC
macSecPolicy: MUST_SECURE
name: name
neat: false
profileName: Cisco
reauth:
connectivity: RADIUS_REQUEST
timer: 1800
serviceTemplate: false
trackMovement: false
vlan:
nameID: vlanName
tagID: 1
voiceDomainPermission: false
webAuth: false
webRedirection:
WebRedirectionType: CentralizedWebAuth
acl: acl
displayCertificatesRenewalMessages: true
portalName: Sponsored Guest Portal (default)
staticIPHostNameFQDN: 10.56.54.200
- name: Update by id
cisco.ise.authorization_profile:
ise_hostname: "{{ise_hostname}}"
ise_username: "{{ise_username}}"
ise_password: "{{ise_password}}"
ise_verify: "{{ise_verify}}"
state: present
accessType: ACCESS_ACCEPT
acl: aclfilter
advancedAttributes:
- leftHandSideDictionaryAttribue:
AdvancedAttributeValueType: AdvancedDictionaryAttribute
attributeName: cisco-call-filter
dictionaryName: Cisco
rightHandSideAttribueValue:
AdvancedAttributeValueType: AttributeValue
value: '23'
airespaceACL: ACL
airespaceIPv6ACL: ACL6
asaVpn: Cisco:cisco-call-type
authzProfileType: SWITCH
autoSmartPort: autoSmartPort
avcProfile: avcProfile
daclName: PERMIT_ALL_IPV4_TRAFFIC
description: description
easywiredSessionCandidate: false
id: id
interfaceTemplate: interfaceTemplate
ipv6ACLFilter: ipv6ACLFilter
ipv6DaclName: PERMIT_ALL_IPV6_TRAFFIC
macSecPolicy: MUST_SECURE
name: name
neat: false
profileName: Cisco
reauth:
connectivity: RADIUS_REQUEST
timer: 1800
serviceTemplate: false
trackMovement: false
vlan:
nameID: vlanName
tagID: 1
voiceDomainPermission: false
webAuth: false
webRedirection:
WebRedirectionType: CentralizedWebAuth
acl: acl
displayCertificatesRenewalMessages: true
portalName: Sponsored Guest Portal (default)
staticIPHostNameFQDN: 10.56.54.200
- name: Delete by id
cisco.ise.authorization_profile:
ise_hostname: "{{ise_hostname}}"
ise_username: "{{ise_username}}"
ise_password: "{{ise_password}}"
ise_verify: "{{ise_verify}}"
state: absent
id: 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)