inspur.sm.edit_smtp_dest – Set SMTP information.¶
Note
This plugin is part of the inspur.sm collection.
To install it use: ansible-galaxy collection install inspur.sm
.
To use it in a playbook, specify: inspur.sm.edit_smtp_dest
.
New in version 1.2.0: of inspur.sm
Parameters¶
Examples¶
- name: Smtp dest test
hosts: ism
connection: local
gather_facts: no
vars:
ism:
host: "{{ ansible_ssh_host }}"
username: "{{ username }}"
password: "{{ password }}"
tasks:
- name: "Set smtp dest information"
inspur.sm.edit_smtp_dest:
id: 1
status: "disable"
provider: "{{ ism }}"
- name: "Set smtp dest information"
inspur.sm.edit_smtp_dest:
id: 1
status: "enable"
address: "100.2.2.2"
description": "test"
provider: "{{ ism }}"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
WangBaoshan (@ISIB-group)