1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/connection_psrp/runme.sh
Jordan Borean f28b7c7ab1
psrp - fix unicode handling in Python 2 (#47461)
* psrp - fix unicode handling in Python 2

* skip psrp become test when on Server 2008
2018-10-24 05:37:05 +10:00

19 lines
425 B
Bash
Executable file

#!/usr/bin/env bash
set -eux
python.py -m pip install pypsrp
cd ../connection
INVENTORY=../../inventory.winrm ./test.sh \
-i ../connection_psrp/inventory.ini \
-e target_hosts=winrm \
-e action_prefix=win_ \
-e local_tmp=/tmp/ansible-local \
-e remote_tmp=c:/windows/temp/ansible-remote \
"$@"
cd ../connection_psrp
ansible-playbook -i ../../inventory.winrm -i inventory.ini tests.yml \
"$@"