From 36a13128c1bf5a24e28684f83d4bf990af26b587 Mon Sep 17 00:00:00 2001 From: Yanan Shen Date: Wed, 22 Nov 2023 15:43:27 +0800 Subject: [PATCH 1/2] change the default value for ANSIBLE_WIN_ASYNC_STARTUP_TIMEOUT Signed-off-by: Yanan Shen --- .../wintools_complete_install_verify.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/windows/wintools_complete_install_verify/wintools_complete_install_verify.yml b/windows/wintools_complete_install_verify/wintools_complete_install_verify.yml index 2d9261752..7733a67a8 100755 --- a/windows/wintools_complete_install_verify/wintools_complete_install_verify.yml +++ b/windows/wintools_complete_install_verify/wintools_complete_install_verify.yml @@ -14,6 +14,8 @@ - name: wintools_complete_install_verify hosts: localhost gather_facts: false + environment: + ANSIBLE_WIN_ASYNC_STARTUP_TIMEOUT: 10 tasks: - name: "Test case block" block: From 8fee85fc74ff021816d98673be93945c766c5079 Mon Sep 17 00:00:00 2001 From: Yanan Shen Date: Wed, 29 Nov 2023 13:49:48 +0800 Subject: [PATCH 2/2] address comments Signed-off-by: Yanan Shen --- windows/wintools_complete_install_verify/install_vmtools.yml | 2 ++ .../wintools_complete_install_verify.yml | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/windows/wintools_complete_install_verify/install_vmtools.yml b/windows/wintools_complete_install_verify/install_vmtools.yml index 9a6be1a27..d8b2dd059 100755 --- a/windows/wintools_complete_install_verify/install_vmtools.yml +++ b/windows/wintools_complete_install_verify/install_vmtools.yml @@ -32,6 +32,8 @@ register: wintools_install_result async: 600 poll: 0 + environment: + ANSIBLE_WIN_ASYNC_STARTUP_TIMEOUT: 10 - name: "Pause 2 minutes before checking task status" ansible.builtin.pause: minutes: 2 diff --git a/windows/wintools_complete_install_verify/wintools_complete_install_verify.yml b/windows/wintools_complete_install_verify/wintools_complete_install_verify.yml index 7733a67a8..2d9261752 100755 --- a/windows/wintools_complete_install_verify/wintools_complete_install_verify.yml +++ b/windows/wintools_complete_install_verify/wintools_complete_install_verify.yml @@ -14,8 +14,6 @@ - name: wintools_complete_install_verify hosts: localhost gather_facts: false - environment: - ANSIBLE_WIN_ASYNC_STARTUP_TIMEOUT: 10 tasks: - name: "Test case block" block: