Debian Codegraph @

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

raw symbols SCIP
1 ---
2 - name: Dell OpenManage Ansible iDRAC Diagnostics.
3 hosts: idrac
4 gather_facts: false
5
6 tasks:
7 - name: Run and export the diagnostics to local path
8 dellemc.openmanage.idrac_diagnostics:
9 idrac_ip: "192.168.0.1"
10 idrac_user: "idrac_user"
11 idrac_password: "idrac_password"
12 ca_path: "path/to/ca_file"
13 run: true
14 export: true
15 share_parameters:
16 share_type: "local"
17 share_name: "/opt/local/diagnostics/"
18 file_name: "diagnostics.txt"
19 delegate_to: localhost
20
21 - name: Run the diagnostics with power cycle reboot on schedule
22 dellemc.openmanage.idrac_diagnostics:
23 idrac_ip: "192.168.0.1"
24 idrac_user: "idrac_user"
25 idrac_password: "idrac_password"
26 ca_path: "path/to/ca_file"
27 run: true
28 run_mode: "express"
29 reboot_type: "power_cycle"
30 scheduled_start_time: 20240101101015
31 delegate_to: localhost
32
33 - name: Run and export the diagnostics to HTTPS share
34 dellemc.openmanage.idrac_diagnostics:
35 idrac_ip: "192.168.0.1"
36 idrac_user: "idrac_user"
37 idrac_password: "idrac_password"
38 ca_path: "path/to/ca_file"
39 run: true
40 export: true
41 share_parameters:
42 share_type: "HTTPS"
43 ignore_certificate_warning: "on"
44 share_name: "/share_path/diagnostics_collection_path"
45 ip_address: "192.168.0.2"
46 file_name: "diagnostics.txt"
47 delegate_to: localhost
48
49 - name: Run and export the diagnostics to NFS share
50 dellemc.openmanage.idrac_diagnostics:
51 idrac_ip: "192.168.0.1"
52 idrac_user: "idrac_user"
53 idrac_password: "idrac_password"
54 ca_path: "path/to/ca_file"
55 run: true
56 export: true
57 share_parameters:
58 share_type: "NFS"
59 share_name: "nfsshare/diagnostics_collection_path/"
60 ip_address: "192.168.0.3"
61 file_name: "diagnostics.txt"
62 delegate_to: localhost
63
64 - name: Export the diagnostics to CIFS share
65 dellemc.openmanage.idrac_diagnostics:
66 idrac_ip: "192.168.0.1"
67 idrac_user: "idrac_user"
68 idrac_password: "idrac_password"
69 ca_path: "path/to/ca_file"
70 export: true
71 share_parameters:
72 share_type: "CIFS"
73 share_name: "/cifsshare/diagnostics_collection_path/"
74 ip_address: "192.168.0.4"
75 file_name: "diagnostics.txt"
76 delegate_to: localhost
77
78 - name: Export the diagnostics to HTTPS share via proxy
79 dellemc.openmanage.idrac_diagnostics:
80 idrac_ip: "192.168.0.1"
81 idrac_user: "idrac_user"
82 idrac_password: "idrac_password"
83 ca_path: "path/to/ca_file"
84 export: true
85 share_parameters:
86 share_type: "HTTPS"
87 share_name: "/share_path/diagnostics_collection_path"
88 ignore_certificate_warning: "on"
89 ip_address: "192.168.0.2"
90 file_name: "diagnostics.txt"
91 proxy_support: parameters_proxy
92 proxy_type: http
93 proxy_server: "192.168.0.5"
94 proxy_port: 1080
95 proxy_username: "proxy_user"
96 proxy_password: "proxy_password"
97 delegate_to: localhost