Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ansible / inspur / sm / playbooks / modules / examples-edit_smtp_dest.yml
Size: Mime:
- 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: "wbs@inspur.com"
      description: "test"
      provider: "{{ ism }}"