cisco.ise.guest_smtp_notification_settings – Resource module for Guest Smtp Notification Settings

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

New in version 1.0.0: of cisco.ise

Synopsis

  • Manage operations create and update of the resource Guest Smtp Notification Settings.

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
connectionTimeout
string
Guest Smtp Notification Settings's connectionTimeout.
defaultFromAddress
string
Guest Smtp Notification Settings's defaultFromAddress.
notificationEnabled
boolean
    Choices:
  • no
  • yes
NotificationEnabled flag.
password
string
Guest Smtp Notification Settings's password.
smtpPort
string
Guest Smtp Notification Settings's smtpPort.
smtpServer
string
Guest Smtp Notification Settings's smtpServer.
useDefaultFromAddress
boolean
    Choices:
  • no
  • yes
UseDefaultFromAddress flag.
usePasswordAuthentication
boolean
    Choices:
  • no
  • yes
UsePasswordAuthentication flag.
userName
string
Guest Smtp Notification Settings's userName.
useTLSorSSLEncryption
boolean
    Choices:
  • no
  • yes
UseTLSorSSLEncryption flag.

See Also

See also

cisco.ise.plugins.module_utils.definitions.guest_smtp_notification_settings

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

Guest Smtp Notification Settings reference

Complete reference of the Guest Smtp Notification Settings object model.

Examples

- name: Create
  cisco.ise.guest_smtp_notification_settings:
    ise_hostname: "{{ise_hostname}}"
    ise_username: "{{ise_username}}"
    ise_password: "{{ise_password}}"
    ise_verify: "{{ise_verify}}"
    state: present
    connectionTimeout: '60'
    defaultFromAddress: admin@ise.example.com
    notificationEnabled: true
    password: C1sco12345
    smtpPort: '465'
    smtpServer: smtp.example.com
    useDefaultFromAddress: false
    usePasswordAuthentication: true
    useTLSorSSLEncryption: true
    userName: smtp@example.com

- name: Update by id
  cisco.ise.guest_smtp_notification_settings:
    ise_hostname: "{{ise_hostname}}"
    ise_username: "{{ise_username}}"
    ise_password: "{{ise_password}}"
    ise_verify: "{{ise_verify}}"
    state: present
    connectionTimeout: '60'
    defaultFromAddress: admin@ise.example.com
    id: string
    notificationEnabled: true
    password: C1sco12345
    smtpPort: '465'
    smtpServer: smtp.example.com
    useDefaultFromAddress: false
    usePasswordAuthentication: true
    useTLSorSSLEncryption: true
    userName: smtp@example.com

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)