Add wait_for_node_deploy parameter to deploy task with custom instance_info

Wait for node deploy is missing for task
"Deploy to hardware - Using custom instance_info."

Change-Id: Ifbca2869dedf3c471c9feaa1ad445f5c721aaabb
This commit is contained in:
Andrey Shestakov 2017-01-23 19:09:04 +02:00
parent 1767bc4f9b
commit d2ca09a0e5

View File

@ -72,6 +72,8 @@
state: present state: present
config_drive: "{{ deploy_url_protocol }}://{{ hostvars[inventory_hostname]['ansible_' + ans_network_interface]['ipv4']['address'] }}:{{ file_url_port }}/configdrive-{{ uuid }}.iso.gz" config_drive: "{{ deploy_url_protocol }}://{{ hostvars[inventory_hostname]['ansible_' + ans_network_interface]['ipv4']['address'] }}:{{ file_url_port }}/configdrive-{{ uuid }}.iso.gz"
instance_info: "{{ instance_info }}" instance_info: "{{ instance_info }}"
wait: "{{ wait_for_node_deploy }}"
timeout: " {{ wait_timeout | default(1800) }}"
delegate_to: localhost delegate_to: localhost
when: instance_info is defined and instance_info | to_json != '{}' when: instance_info is defined and instance_info | to_json != '{}'
- name: "Collect the checksum of the deployment image." - name: "Collect the checksum of the deployment image."