d_strobel.windows.fsrm_setting (1.4.0) — module

Modify general 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 the File Server Resource Manager general settings.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set the smtp server and the admin email address
  d_strobel.windows_fsrm.win_fsrm_setting:
    smtp_server: smtp.example.intern
    admin_email_address: fsrm-monitoring@example.com
    state: present
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Remove the smtp server
  d_strobel.windows_fsrm.win_fsrm_setting:
    smtp_server: smtp.example.intern
    state: absent
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set the admin and from email address
  d_strobel.windows_fsrm.win_fsrm_setting:
    admin_email_address: fsrm-monitoring@example.com
    from_email_address: fsrm@server.intern
    state: present

Inputs

    
state:
    choices:
    - absent
    - present
    description:
    - Set to C(present) to ensure setting is set.
    - Set to C(absent) to ensure setting is removed.
    type: str

smtp_server:
    description:
    - The FQDN or IP-Address of the smtp server.
    type: str

from_email_address:
    description:
    - The email address from which the server sends the notifications.
    type: str

admin_email_address:
    description:
    - The default email address to use for notifications.
    type: str

Outputs

settings:
  description: returns all settings that can be set by the module.
  returned: always
  type: dict