psrp: Added new Windows connection plugin (#41729)

* psrp: Added new Windows connection plugin

* Tweaks to connection options from review
This commit is contained in:
Jordan Borean
2018-08-22 09:43:13 +10:00
committed by Matt Davis
parent 07a011cd6f
commit 6982dfc756
7 changed files with 793 additions and 22 deletions

View File

@@ -0,0 +1,3 @@
windows
shippable/windows/group1
shippable/windows/smoketest

View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -eux
pip install pypsrp
cd ../connection
INVENTORY=../../inventory.winrm ./test.sh \
-e target_hosts=winrm \
-e action_prefix=win_ \
-e local_tmp=/tmp/ansible-local \
-e remote_tmp=c:/windows/temp/ansible-remote \
-e ansible_psrp_cert_validation=False \
-c psrp \
"$@"