Debian Codegraph @

ansible_collections/dellemc/openmanage/playbooks/idrac/deprecated/dellemc_configure_idrac_eventing.yml

raw symbols SCIP
1 ---
2 - name: Configure the iDRAC eventing attributes
3 hosts: idrac
4 gather_facts: false
5
6 tasks:
7 - name: Setup iDRAC SMTP
8 dellemc.openmanage.dellemc_configure_idrac_eventing:
9 idrac_ip: "{{ idrac_ip }}"
10 idrac_user: "{{ idrac_user }}"
11 idrac_password: "{{ idrac_password }}"
12 ca_path: "/path/to/ca_cert.pem"
13 smtp_ip_address: "0.0.0.0"
14 authentication: "Enabled"
15 username: "test"
16 password: "test"
17 delegate_to: localhost
18 tags:
19 - idrac_smtp
20
21 - name: Setup iDRAC SNMP Trap
22 dellemc.openmanage.dellemc_configure_idrac_eventing:
23 idrac_ip: "{{ idrac_ip }}"
24 idrac_user: "{{ idrac_user }}"
25 idrac_password: "{{ idrac_password }}"
26 ca_path: "/path/to/ca_cert.pem"
27 snmp_trap_state: "Enabled"
28 destination_number: "2"
29 snmp_v3_username: "None"
30 destination: "1.1.1.1"
31 delegate_to: localhost
32 tags:
33 - idrac_snmptrap
34
35 - name: Setup iDRAC Email Alerts
36 dellemc.openmanage.dellemc_configure_idrac_eventing:
37 idrac_ip: "{{ idrac_ip }}"
38 idrac_user: "{{ idrac_user }}"
39 idrac_password: "{{ idrac_password }}"
40 ca_path: "/path/to/ca_cert.pem"
41 email_alert_state: "Disabled"
42 address: "[email protected]"
43 alert_number: "1"
44 custom_message: "test"
45 delegate_to: localhost
46 tags:
47 - idrac_email_alerts
48
49 - name: Setup iDRAC Alerts
50 dellemc.openmanage.dellemc_configure_idrac_eventing:
51 idrac_ip: "{{ idrac_ip }}"
52 idrac_user: "{{ idrac_user }}"
53 idrac_password: "{{ idrac_password }}"
54 ca_path: "/path/to/ca_cert.pem"
55 enable_alerts: "Disabled"
56 delegate_to: localhost
57 tags:
58 - idrac_alerts