Debian Codegraph @

ansible_collections/dellemc/openmanage/playbooks/ome/application/ome_application_alerts_smtp.yml

raw symbols SCIP
1 ---
2 - name: Configure the SMTP settings of OME and OME-M.
3 hosts: ome
4 gather_facts: false
5
6 tasks:
7 - name: Update SMTP destination server configuration with authentication
8 dellemc.openmanage.ome_application_alerts_smtp:
9 hostname: "{{ hostname }}"
10 username: "{{ username }}"
11 password: "{{ password }}"
12 ca_path: "/path/to/ca_cert.pem"
13 destination_address: "localhost"
14 port_number: 25
15 use_ssl: true
16 enable_authentication: true
17 credentials:
18 username: "username"
19 password: "**"
20 delegate_to: localhost
21 tags:
22 - smtp_auth
23
24 - name: Update SMTP destination server configuration without authentication
25 dellemc.openmanage.ome_application_alerts_smtp:
26 hostname: "{{ hostname }}"
27 username: "{{ username }}"
28 password: "{{ password }}"
29 ca_path: "/path/to/ca_cert.pem"
30 destination_address: "localhost"
31 port_number: 25
32 use_ssl: false
33 enable_authentication: false
34 delegate_to: localhost
35 tags:
36 - smtp_no_auth