d_strobel.windows.wsus_email_notification_setting (1.4.0) — module

Modify email notification settings

Authors: Dustin Strobel (@d-strobel)

Install collection

Install with ansible-galaxy collection install d_strobel.windows:==1.4.0


Add to requirements.yml

  collections:
    - name: d_strobel.windows
      version: 1.4.0

Description

Modify smtp and email notification settings

Inputs

    
state:
    choices:
    - absent
    - present
    default: present
    description:
    - Set to C(present) to ensure the settings are present.
    - Set to C(absent) to ensure the settings are removed.
    type: str

smtp_host:
    description:
    - Set the smtp hostname to use for email notifications.
    type: str

smtp_port:
    default: 25
    description:
    - Set the smtp port of the smtp host to use for email notifications.
    - You cannot absent this option. Port 25 will always be the default.
    type: int

smtp_password:
    description:
    - Set the smtp password for authentication to the smtp host.
    - Reuired when smtp_authentication_required is true.
    type: str

smtp_username:
    description:
    - Set the smtp username for authentication to the smtp host.
    - Reuired when smtp_authentication_required is true.
    type: str

email_language:
    default: en
    description:
    - Define language of the email.
    type: str

sender_display_name:
    description:
    - Define the display name of the email sender.
    type: str

sender_email_address:
    description:
    - Define the email address of the sender.
    type: str

smtp_password_update:
    choices:
    - always
    - on_create
    default: on_create
    description:
    - Define how the password is updated.
    - Set to C(on_create) to set the password only on the first run.
    - Set to C(always) to set the password every time your playbook runs.
    type: str

send_sync_notification:
    description:
    - Define if sync notifications should be sent.
    type: bool

send_status_notification:
    description:
    - Define if status notifications should be sent.
    type: bool

status_notification_time:
    description:
    - Define the time of day where the status notifcation should be sent.
    - The parameter must be in the format hh:mm:ss (hour:minutes:seconds).
    - The time is in Coordinated Universal Time (UTC).
    type: str

smtp_authentication_required:
    default: false
    description:
    - Define if the smtp host requires an authentication.
    type: bool

sync_notification_recipients:
    description:
    - A list of recipients for sync notifications.
    - If you want to remove all recipients you must change send_sync_notification to false.
    elements: str
    type: list

status_notification_frequency:
    choices:
    - daily
    - weekly
    default: daily
    description:
    - Define how often the status notifcation should be sent.
    type: str

status_notification_recipients:
    description:
    - A list of recipients for status notifications.
    - If you want to remove all recipients you must change send_status_notification to
      false.
    elements: str
    type: list