Commit graph

3 commits

Author SHA1 Message Date
Matt Clay
a19ae28326 Test the delay option in wait_for_connection. 2020-02-25 19:27:18 -08:00
Dag Wieers
bf9ed0263a Ensure action plugins accept only valid args ()
* Ensure action plugins accept only valid args

This fixes 
This also fixes 

* Add missing parameters, use private _VALID_ARGS
2018-08-30 09:40:36 -04:00
Dag Wieers
52959ebdc1 wait_for_connection: Wait for system to become reachable ()
* 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 

* 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
2017-03-01 11:00:49 -08:00