cisco.ise.allowed_protocols – Resource module for Allowed Protocols

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.allowed_protocols.

New in version 1.0.0: of cisco.ise

Synopsis

  • Manage operations create, update and delete of the resource Allowed Protocols.

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
allowChap
boolean
    Choices:
  • no
  • yes
AllowChap flag.
allowEapFast
boolean
    Choices:
  • no
  • yes
AllowEapFast flag.
allowEapMd5
boolean
    Choices:
  • no
  • yes
AllowEapMd5 flag.
allowEapTls
boolean
    Choices:
  • no
  • yes
AllowEapTls flag.
allowEapTtls
boolean
    Choices:
  • no
  • yes
AllowEapTtls flag.
allowLeap
boolean
    Choices:
  • no
  • yes
AllowLeap flag.
allowMsChapV1
boolean
    Choices:
  • no
  • yes
AllowMsChapV1 flag.
allowMsChapV2
boolean
    Choices:
  • no
  • yes
AllowMsChapV2 flag.
allowPapAscii
boolean
    Choices:
  • no
  • yes
AllowPapAscii flag.
allowPeap
boolean
    Choices:
  • no
  • yes
AllowPeap flag.
allowPreferredEapProtocol
boolean
    Choices:
  • no
  • yes
AllowPreferredEapProtocol flag.
allowTeap
boolean
    Choices:
  • no
  • yes
AllowTeap flag.
allowWeakCiphersForEap
boolean
    Choices:
  • no
  • yes
AllowWeakCiphersForEap flag.
description
string
Allowed Protocols's description.
eapFast
dictionary
Allowed Protocols's eapFast.
allowEapFastEapGtc
boolean
    Choices:
  • no
  • yes
AllowEapFastEapGtc flag.
allowEapFastEapGtcPwdChange
boolean
    Choices:
  • no
  • yes
AllowEapFastEapGtcPwdChange flag.
allowEapFastEapGtcPwdChangeRetries
integer
Allowed Protocols's allowEapFastEapGtcPwdChangeRetries.
allowEapFastEapMsChapV2
boolean
    Choices:
  • no
  • yes
AllowEapFastEapMsChapV2 flag.
allowEapFastEapMsChapV2PwdChange
boolean
    Choices:
  • no
  • yes
AllowEapFastEapMsChapV2PwdChange flag.
allowEapFastEapMsChapV2PwdChangeRetries
integer
Allowed Protocols's allowEapFastEapMsChapV2PwdChangeRetries.
allowEapFastEapTls
boolean
    Choices:
  • no
  • yes
AllowEapFastEapTls flag.
allowEapFastEapTlsAuthOfExpiredCerts
boolean
    Choices:
  • no
  • yes
AllowEapFastEapTlsAuthOfExpiredCerts flag.
eapFastEnableEAPChaining
boolean
    Choices:
  • no
  • yes
EapFastEnableEAPChaining flag.
eapFastUsePacs
boolean
    Choices:
  • no
  • yes
EapFastUsePacs flag.
eapFastUsePacsAllowAnonymProvisioning
boolean
    Choices:
  • no
  • yes
EapFastUsePacsAllowAnonymProvisioning flag.
eapFastUsePacsAllowAuthenProvisioning
boolean
    Choices:
  • no
  • yes
EapFastUsePacsAllowAuthenProvisioning flag.
eapFastUsePacsAllowMachineAuthentication
boolean
    Choices:
  • no
  • yes
EapFastUsePacsAllowMachineAuthentication flag.
eapFastUsePacsStatelessSessionResume
boolean
    Choices:
  • no
  • yes
EapFastUsePacsStatelessSessionResume flag.
eapFastUsePacsTunnelPacTtl
integer
Allowed Protocols's eapFastUsePacsTunnelPacTtl.
eapFastUsePacsTunnelPacTtlUnits
string
Allowed Protocols's eapFastUsePacsTunnelPacTtlUnits.
eapFastUsePacsUseProactivePacUpdatePrecentage
integer
Allowed Protocols's eapFastUsePacsUseProactivePacUpdatePrecentage.
eapTls
dictionary
Allowed Protocols's eapTls.
allowEapTlsAuthOfExpiredCerts
boolean
    Choices:
  • no
  • yes
AllowEapTlsAuthOfExpiredCerts flag.
eapTlsEnableStatelessSessionResume
boolean
    Choices:
  • no
  • yes
EapTlsEnableStatelessSessionResume flag.
eapTlsLBit
boolean
    Choices:
  • no
  • yes
EapTlsLBit flag.
eapTtls
dictionary
Allowed Protocols's eapTtls.
eapTtlsChap
boolean
    Choices:
  • no
  • yes
EapTtlsChap flag.
eapTtlsEapMd5
boolean
    Choices:
  • no
  • yes
EapTtlsEapMd5 flag.
eapTtlsEapMsChapV2
boolean
    Choices:
  • no
  • yes
EapTtlsEapMsChapV2 flag.
eapTtlsEapMsChapV2PwdChange
boolean
    Choices:
  • no
  • yes
EapTtlsEapMsChapV2PwdChange flag.
eapTtlsEapMsChapV2PwdChangeRetries
integer
Allowed Protocols's eapTtlsEapMsChapV2PwdChangeRetries.
eapTtlsMsChapV1
boolean
    Choices:
  • no
  • yes
EapTtlsMsChapV1 flag.
eapTtlsMsChapV2
boolean
    Choices:
  • no
  • yes
EapTtlsMsChapV2 flag.
eapTtlsPapAscii
boolean
    Choices:
  • no
  • yes
EapTtlsPapAscii flag.
id
string
Id path parameter.
name
string
Allowed Protocols's name.
peap
dictionary
Allowed Protocols's peap.
allowPeapEapGtc
boolean
    Choices:
  • no
  • yes
AllowPeapEapGtc flag.
allowPeapEapMsChapV2
boolean
    Choices:
  • no
  • yes
AllowPeapEapMsChapV2 flag.
allowPeapEapMsChapV2PwdChange
boolean
    Choices:
  • no
  • yes
AllowPeapEapMsChapV2PwdChange flag.
allowPeapEapMsChapV2PwdChangeRetries
integer
Allowed Protocols's allowPeapEapMsChapV2PwdChangeRetries.
allowPeapEapTls
boolean
    Choices:
  • no
  • yes
AllowPeapEapTls flag.
allowPeapEapTlsAuthOfExpiredCerts
boolean
    Choices:
  • no
  • yes
AllowPeapEapTlsAuthOfExpiredCerts flag.
allowPeapV0
boolean
    Choices:
  • no
  • yes
AllowPeapV0 flag.
requireCryptobinding
boolean
    Choices:
  • no
  • yes
RequireCryptobinding flag.
preferredEapProtocol
string
Allowed Protocols's preferredEapProtocol.
processHostLookup
boolean
    Choices:
  • no
  • yes
ProcessHostLookup flag.
requireMessageAuth
boolean
    Choices:
  • no
  • yes
RequireMessageAuth flag.
teap
dictionary
Allowed Protocols's teap.
acceptClientCertDuringTunnelEst
boolean
    Choices:
  • no
  • yes
AcceptClientCertDuringTunnelEst flag.
allowTeapEapMsChapV2
boolean
    Choices:
  • no
  • yes
AllowTeapEapMsChapV2 flag.
allowTeapEapMsChapV2PwdChange
boolean
    Choices:
  • no
  • yes
AllowTeapEapMsChapV2PwdChange flag.
allowTeapEapMsChapV2PwdChangeRetries
integer
Allowed Protocols's allowTeapEapMsChapV2PwdChangeRetries.
allowTeapEapTls
boolean
    Choices:
  • no
  • yes
AllowTeapEapTls flag.
allowTeapEapTlsAuthOfExpiredCerts
boolean
    Choices:
  • no
  • yes
AllowTeapEapTlsAuthOfExpiredCerts flag.
enableEapChaining
boolean
    Choices:
  • no
  • yes
EnableEapChaining flag.
requestBasicPwdAuth
boolean
    Choices:
  • no
  • yes
RequestBasicPwdAuth flag.

See Also

See also

cisco.ise.plugins.module_utils.definitions.allowed_protocols

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

Allowed Protocols reference

Complete reference of the Allowed Protocols object model.

Examples

- name: Create
  cisco.ise.allowed_protocols:
    ise_hostname: "{{ise_hostname}}"
    ise_username: "{{ise_username}}"
    ise_password: "{{ise_password}}"
    ise_verify: "{{ise_verify}}"
    state: present
    allowChap: false
    allowEapFast: true
    allowEapMd5: true
    allowEapTls: true
    allowEapTtls: true
    allowLeap: false
    allowMsChapV1: false
    allowMsChapV2: false
    allowPapAscii: true
    allowPeap: true
    allowPreferredEapProtocol: true
    allowTeap: true
    allowWeakCiphersForEap: false
    description: example allowed protocols
    eapFast:
      allowEapFastEapGtc: true
      allowEapFastEapGtcPwdChange: true
      allowEapFastEapGtcPwdChangeRetries: 1
      allowEapFastEapMsChapV2: true
      allowEapFastEapMsChapV2PwdChange: true
      allowEapFastEapMsChapV2PwdChangeRetries: 1
      allowEapFastEapTls: true
      allowEapFastEapTlsAuthOfExpiredCerts: false
      eapFastEnableEAPChaining: false
      eapFastUsePacs: true
      eapFastUsePacsAllowAnonymProvisioning: false
      eapFastUsePacsAllowAuthenProvisioning: false
      eapFastUsePacsAllowMachineAuthentication: false
      eapFastUsePacsStatelessSessionResume: false
      eapFastUsePacsTunnelPacTtl: 7776000
      eapFastUsePacsTunnelPacTtlUnits: SECONDS
      eapFastUsePacsUseProactivePacUpdatePrecentage: 10
    eapTls:
      allowEapTlsAuthOfExpiredCerts: false
      eapTlsEnableStatelessSessionResume: false
    eapTlsLBit: false
    eapTtls:
      eapTtlsChap: true
      eapTtlsEapMd5: true
      eapTtlsEapMsChapV2: true
      eapTtlsEapMsChapV2PwdChange: true
      eapTtlsEapMsChapV2PwdChangeRetries: 1
      eapTtlsMsChapV1: true
      eapTtlsMsChapV2: true
      eapTtlsPapAscii: true
    name: allowedprotocols1
    peap:
      allowPeapEapGtc: false
      allowPeapEapMsChapV2: true
      allowPeapEapMsChapV2PwdChange: true
      allowPeapEapMsChapV2PwdChangeRetries: 1
      allowPeapEapTls: true
      allowPeapEapTlsAuthOfExpiredCerts: false
      allowPeapV0: false
      requireCryptobinding: false
    preferredEapProtocol: PEAP
    processHostLookup: true
    requireMessageAuth: false
    teap:
      acceptClientCertDuringTunnelEst: true
      allowTeapEapMsChapV2: true
      allowTeapEapMsChapV2PwdChange: true
      allowTeapEapMsChapV2PwdChangeRetries: 3
      allowTeapEapTls: true
      allowTeapEapTlsAuthOfExpiredCerts: false
      enableEapChaining: false
      requestBasicPwdAuth: false

- name: Update by id
  cisco.ise.allowed_protocols:
    ise_hostname: "{{ise_hostname}}"
    ise_username: "{{ise_username}}"
    ise_password: "{{ise_password}}"
    ise_verify: "{{ise_verify}}"
    state: present
    allowChap: false
    allowEapFast: true
    allowEapMd5: true
    allowEapTls: true
    allowEapTtls: true
    allowLeap: false
    allowMsChapV1: false
    allowMsChapV2: false
    allowPapAscii: true
    allowPeap: true
    allowPreferredEapProtocol: true
    allowTeap: true
    allowWeakCiphersForEap: false
    description: example allowed protocols
    eapFast:
      allowEapFastEapGtc: true
      allowEapFastEapGtcPwdChange: true
      allowEapFastEapGtcPwdChangeRetries: 1
      allowEapFastEapMsChapV2: true
      allowEapFastEapMsChapV2PwdChange: true
      allowEapFastEapMsChapV2PwdChangeRetries: 1
      allowEapFastEapTls: true
      allowEapFastEapTlsAuthOfExpiredCerts: false
      eapFastEnableEAPChaining: false
      eapFastUsePacs: true
      eapFastUsePacsAllowAnonymProvisioning: false
      eapFastUsePacsAllowAuthenProvisioning: false
      eapFastUsePacsAllowMachineAuthentication: false
      eapFastUsePacsStatelessSessionResume: false
      eapFastUsePacsTunnelPacTtl: 7776000
      eapFastUsePacsTunnelPacTtlUnits: SECONDS
      eapFastUsePacsUseProactivePacUpdatePrecentage: 10
    eapTls:
      allowEapTlsAuthOfExpiredCerts: false
      eapTlsEnableStatelessSessionResume: false
    eapTlsLBit: false
    eapTtls:
      eapTtlsChap: true
      eapTtlsEapMd5: true
      eapTtlsEapMsChapV2: true
      eapTtlsEapMsChapV2PwdChange: true
      eapTtlsEapMsChapV2PwdChangeRetries: 1
      eapTtlsMsChapV1: true
      eapTtlsMsChapV2: true
      eapTtlsPapAscii: true
    id: string
    name: allowedprotocols1
    peap:
      allowPeapEapGtc: false
      allowPeapEapMsChapV2: true
      allowPeapEapMsChapV2PwdChange: true
      allowPeapEapMsChapV2PwdChangeRetries: 1
      allowPeapEapTls: true
      allowPeapEapTlsAuthOfExpiredCerts: false
      allowPeapV0: false
      requireCryptobinding: false
    preferredEapProtocol: PEAP
    processHostLookup: true
    requireMessageAuth: false
    teap:
      acceptClientCertDuringTunnelEst: true
      allowTeapEapMsChapV2: true
      allowTeapEapMsChapV2PwdChange: true
      allowTeapEapMsChapV2PwdChangeRetries: 3
      allowTeapEapTls: true
      allowTeapEapTlsAuthOfExpiredCerts: false
      enableEapChaining: false
      requestBasicPwdAuth: false

- name: Delete by id
  cisco.ise.allowed_protocols:
    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)