File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -3,3 +3,4 @@ boot_iso_url: "{{ discovery_iso_server }}/{{ discovery_iso_name }}"
33bmc_address : " {{ hostvars[target_host]['bmc_address'] }}"
44bmc_user : " {{ hostvars[target_host]['bmc_user'] }}"
55bmc_password : " {{ hostvars[target_host]['bmc_password'] }}"
6+ bmc_name : " {{ (hostvars[target_host]['bmc_name'] | default('', true) | trim) | default(bmc_address, true) }}"
Original file line number Diff line number Diff line change 11---
22- name : Discovery iDRAC versions for Dell hardware
33 containers.podman.podman_container :
4- name : " {{ bmc_address }}-rac-version"
4+ name : " {{ bmc_name }}-rac-version"
55 network : host
66 image : quay.io/dphillip/racadm-image
77 state : started
Original file line number Diff line number Diff line change 11---
22- name : Discovery iDRAC versions for Dell hardware
33 containers.podman.podman_container :
4- name : " {{ bmc_address }}-rac-version"
4+ name : " {{ bmc_name }}-rac-version"
55 network : host
66 image : quay.io/dphillip/racadm-image
77 state : started
1717 " {{ boot_iso_url }}" ,
1818 ]
1919 register : drac_version
20+ no_log : true
2021
2122- name : Using iDRAC ISO method for 13G and below
2223 ansible.builtin.include_tasks : ./iso_idrac.yml
Original file line number Diff line number Diff line change 33 block :
44 - name : Racadm container to mount and boot to discovery ISO
55 containers.podman.podman_container :
6- name : " {{ bmc_address }}-rac-image"
6+ name : " {{ bmc_name }}-rac-image"
77 network : host
88 image : quay.io/dphillip/racadm-image
99 state : started
You can’t perform that action at this time.
0 commit comments