summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/connection
diff options
context:
space:
mode:
authorDag Wieers <dag@wieers.com>2017-03-01 20:00:49 +0100
committerMatt Davis <nitzmahone@users.noreply.github.com>2017-03-01 20:00:49 +0100
commit52959ebdc18bfe96de083b5317b32c5216abf80a (patch)
tree948cdd51d0b28fa190961e32be3d57783a32d32b /test/integration/targets/connection
parentUpdate playbooks_variables.rst (diff)
downloadansible-52959ebdc18bfe96de083b5317b32c5216abf80a.tar.xz
ansible-52959ebdc18bfe96de083b5317b32c5216abf80a.zip
wait_for_connection: Wait for system to become reachable (#20011)
* WIP: wait_for_connection: Wait for system to be reachable This action plugin allows to check when a system is back online and usable by Ansible. As an example, when doing a SysPrep and running Enable-WinRM.ps1, it takes between 10 to 20 seconds between the WinRM TCP port to open, and it actually being able to server Ansible requests. This time is variable and depends on the boot process. Current implementation is specific for Windows (WinRM) only, this will be fixed shortly. This fixes #19998 * Support other transport types * Various improvements - Fix reported typo - Add transport_test support in accelerate plugin - Ensure port is an integer * Improve examples * Small fixes - Use correct ConfigureRemotingForAnsible.ps1 script name - Only use win_ping when remote shell is known to be Powershell - Add integration tests to CI framework
Diffstat (limited to 'test/integration/targets/connection')
-rw-r--r--test/integration/targets/connection/test_connection.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/integration/targets/connection/test_connection.yml b/test/integration/targets/connection/test_connection.yml
index 2f0a98ccdf..18ca2bada4 100644
--- a/test/integration/targets/connection/test_connection.yml
+++ b/test/integration/targets/connection/test_connection.yml
@@ -38,3 +38,6 @@
local_action: file path={{ local_tmp }}-汉语 state=absent
- name: remove remote temp file
action: "{{ action_prefix }}file path={{ remote_tmp }}-汉语 state=absent"
+
+ ### test wait_for_connection plugin
+ - wait_for_connection: