|
@@ -93,6 +93,10 @@
|
|
changed_when: true
|
|
changed_when: true
|
|
no_log: true
|
|
no_log: true
|
|
|
|
|
|
|
|
+ - name: Wait for 10 mins for DHCP to assign IP to devices
|
|
|
|
+ wait_for:
|
|
|
|
+ timeout: "{{ dhcp_wait_time }}"
|
|
|
|
+
|
|
- name: Launch idrac_template
|
|
- name: Launch idrac_template
|
|
command: >-
|
|
command: >-
|
|
awx --conf.host {{ awx_host }} --conf.username {{ awx_username }} --conf.password {{ awx_password }}
|
|
awx --conf.host {{ awx_host }} --conf.username {{ awx_username }} --conf.password {{ awx_password }}
|
|
@@ -101,4 +105,4 @@
|
|
changed_when: false
|
|
changed_when: false
|
|
no_log: true
|
|
no_log: true
|
|
when: inventory_hostname not in fetch_inventory.stdout
|
|
when: inventory_hostname not in fetch_inventory.stdout
|
|
- when: provisioned_idrac_inventory_name in inventory_list.stdout
|
|
|
|
|
|
+ when: provisioned_idrac_inventory_name in inventory_list.stdout
|