File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
ansible/roles/boot-iso/tasks Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 27
27
Accept : application/json
28
28
body :
29
29
{
30
- " ShareParameters " : { "Target": "ALL" },
30
+ " ShareParameters " : { "Target": [ "ALL"] },
31
31
" ImportBuffer " : ' <SystemConfiguration><Component FQDD="iDRAC.Embedded.1"><Attribute Name="ServerBoot.1#BootOnce">Enabled</Attribute><Attribute Name="ServerBoot.1#FirstBootDevice">VCD-DVD</Attribute></Component></SystemConfiguration>' ,
32
32
}
33
33
body_format : json
37
37
38
38
- name : Dell - Check for Virtual Media
39
39
uri :
40
- url : " https://{{ hostvars[item]['bmc_address'] }}/redfish/v1/Managers/iDRAC .Embedded.1/VirtualMedia/CD "
40
+ url : " https://{{ hostvars[item]['bmc_address'] }}/redfish/v1/Systems/System .Embedded.1/VirtualMedia/1 "
41
41
user : " {{ hostvars[item]['bmc_user'] }}"
42
42
password : " {{ hostvars[item]['bmc_password'] }}"
43
43
method : Get
53
53
54
54
- name : Dell - Eject any CD Virtual Media
55
55
uri :
56
- url : " https://{{ hostvars[item]['bmc_address'] }}/redfish/v1/Managers/iDRAC .Embedded.1/VirtualMedia/CD /Actions/VirtualMedia.EjectMedia"
56
+ url : " https://{{ hostvars[item]['bmc_address'] }}/redfish/v1/Systems/System .Embedded.1/VirtualMedia/1 /Actions/VirtualMedia.EjectMedia"
57
57
user : " {{ hostvars[item]['bmc_user'] }}"
58
58
password : " {{ hostvars[item]['bmc_password'] }}"
59
59
method : POST
82
82
83
83
- name : DELL - Insert Virtual Media
84
84
community.general.redfish_command :
85
- category : Manager
85
+ category : Systems
86
86
command : VirtualMediaInsert
87
87
baseuri : " {{ hostvars[item]['bmc_address'] }}"
88
88
username : " {{ hostvars[item]['bmc_user'] }}"
92
92
media_types :
93
93
- CD
94
94
- DVD
95
- resource_id : iDRAC .Embedded.1
95
+ resource_id : System .Embedded.1
96
96
register : result
97
97
until : not result.failed
98
98
retries : 5
You can’t perform that action at this time.
0 commit comments