d_strobel / d_strobel.windows / 1.4.0 / module / fsrm_setting Modify general settings Authors: Dustin Strobel (@d-strobel)d_strobel.windows.fsrm_setting (1.4.0) — module
Install with ansible-galaxy collection install d_strobel.windows:==1.4.0
collections: - name: d_strobel.windows version: 1.4.0
Modify the File Server Resource Manager general settings.
- 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
- name: Remove the smtp server d_strobel.windows_fsrm.win_fsrm_setting: smtp_server: smtp.example.intern state: absent
- 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
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
settings: description: returns all settings that can be set by the module. returned: always type: dict