From d2ca09a0e51e8e1d5211f860de718373f2fba7f8 Mon Sep 17 00:00:00 2001 From: Andrey Shestakov Date: Mon, 23 Jan 2017 19:09:04 +0200 Subject: [PATCH] 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 --- playbooks/roles/bifrost-deploy-nodes-dynamic/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbooks/roles/bifrost-deploy-nodes-dynamic/tasks/main.yml b/playbooks/roles/bifrost-deploy-nodes-dynamic/tasks/main.yml index 65551a32f..d3e0c6fdb 100644 --- a/playbooks/roles/bifrost-deploy-nodes-dynamic/tasks/main.yml +++ b/playbooks/roles/bifrost-deploy-nodes-dynamic/tasks/main.yml @@ -72,6 +72,8 @@ state: present 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 }}" + wait: "{{ wait_for_node_deploy }}" + timeout: " {{ wait_timeout | default(1800) }}" delegate_to: localhost when: instance_info is defined and instance_info | to_json != '{}' - name: "Collect the checksum of the deployment image."