summaryrefslogtreecommitdiff
path: root/test/integration/targets/connection_psrp
diff options
context:
space:
mode:
authorJordan Borean <jborean93@gmail.com>2018-08-22 09:43:13 +1000
committerMatt Davis <nitzmahone@users.noreply.github.com>2018-08-21 16:43:13 -0700
commit6982dfc7560eec6a68beb5402d7a047079325803 (patch)
treee4d6b246d4038a08b120abfe9ac47ae010b4bce8 /test/integration/targets/connection_psrp
parent07a011cd6fe59115d5597dfe5b27dd47611bfaf1 (diff)
downloadansible-6982dfc7560eec6a68beb5402d7a047079325803.tar.gz
psrp: Added new Windows connection plugin (#41729)
* psrp: Added new Windows connection plugin * Tweaks to connection options from review
Diffstat (limited to 'test/integration/targets/connection_psrp')
-rw-r--r--test/integration/targets/connection_psrp/aliases3
-rwxr-xr-xtest/integration/targets/connection_psrp/runme.sh15
2 files changed, 18 insertions, 0 deletions
diff --git a/test/integration/targets/connection_psrp/aliases b/test/integration/targets/connection_psrp/aliases
new file mode 100644
index 0000000000..cf714783f5
--- /dev/null
+++ b/test/integration/targets/connection_psrp/aliases
@@ -0,0 +1,3 @@
+windows
+shippable/windows/group1
+shippable/windows/smoketest
diff --git a/test/integration/targets/connection_psrp/runme.sh b/test/integration/targets/connection_psrp/runme.sh
new file mode 100755
index 0000000000..61058c73cd
--- /dev/null
+++ b/test/integration/targets/connection_psrp/runme.sh
@@ -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 \
+ "$@"