Debian Codegraph @

ansible_collections/dellemc/openmanage/playbooks/idrac/idrac_reset.yml

raw symbols SCIP
1 ---
2 - name: Reset iDRAC
3 hosts: idrac
4 gather_facts: false
5
6 tasks:
7 - name: Reset the iDRAC to default and
8 do not wait till the iDRAC is accessible.
9 dellemc.openmanage.idrac_reset:
10 idrac_ip: "192.168.0.1"
11 idrac_user: "user_name"
12 idrac_password: "user_password"
13 ca_path: "/path/to/ca_cert.pem"
14 reset_to_default: "Default"
15 wait_for_idrac: false
16 delegate_to: localhost
17
18 - name: Reset the iDRAC to all and wait for lifecycle controller
19 status to be ready after reset.
20 dellemc.openmanage.idrac_reset:
21 idrac_ip: "192.168.0.1"
22 idrac_user: "user_name"
23 idrac_password: "user_password"
24 ca_path: "/path/to/ca_cert.pem"
25 reset_to_default: "All"
26 wait_for_idrac: true
27 default_username: "user_name"
28 default_password: "user_password"
29
30 - name: Force reset the iDRAC to default.
31 dellemc.openmanage.idrac_reset:
32 idrac_ip: "192.168.0.1"
33 idrac_user: "user_name"
34 idrac_password: "user_password"
35 ca_path: "/path/to/ca_cert.pem"
36 reset_to_default: "Default"
37 force_reset: true
38 delegate_to: localhost
39
40 - name: Gracefully restart the iDRAC.
41 dellemc.openmanage.idrac_reset:
42 idrac_ip: "192.168.0.1"
43 idrac_user: "user_name"
44 idrac_password: "user_password"
45 ca_path: "/path/to/ca_cert.pem"
46 delegate_to: localhost
47
48 - name: Reset the iDRAC to custom defaults XML and
49 do not wait till the iDRAC is accessible.
50 dellemc.openmanage.idrac_reset:
51 idrac_ip: "192.168.0.1"
52 idrac_user: "user_name"
53 idrac_password: "user_password"
54 ca_path: "/path/to/ca_cert.pem"
55 reset_to_default: "CustomDefaults"
56 custom_defaults_file: "/path/to/custom_defaults.xml"
57 delegate_to: localhost
58
59 - name: Reset the iDRAC to custom defaults buffer input and
60 do not wait till the iDRAC is accessible.
61 dellemc.openmanage.idrac_reset:
62 idrac_ip: "192.168.0.1"
63 idrac_user: "user_name"
64 idrac_password: "user_password"
65 ca_path: "/path/to/ca_cert.pem"
66 reset_to_default: "CustomDefaults"
67 custom_defaults_buffer: "<SystemConfiguration><Component
68 FQDD='iDRAC.Embedded.1'><Attribute Name='IPMILan.1#Enable'>
69 Disabled</Attribute></Component></SystemConfiguration>"
70 delegate_to: localhost