2018-08-22 01:43:13 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -eux
|
|
|
|
|
2018-10-23 21:37:05 +02:00
|
|
|
python.py -m pip install pypsrp
|
2018-08-22 01:43:13 +02:00
|
|
|
cd ../connection
|
|
|
|
|
|
|
|
INVENTORY=../../inventory.winrm ./test.sh \
|
2018-10-23 21:37:05 +02:00
|
|
|
-i ../connection_psrp/inventory.ini \
|
2018-08-22 01:43:13 +02:00
|
|
|
-e target_hosts=winrm \
|
|
|
|
-e action_prefix=win_ \
|
|
|
|
-e local_tmp=/tmp/ansible-local \
|
|
|
|
-e remote_tmp=c:/windows/temp/ansible-remote \
|
2018-10-23 21:37:05 +02:00
|
|
|
"$@"
|
|
|
|
|
|
|
|
cd ../connection_psrp
|
|
|
|
|
|
|
|
ansible-playbook -i ../../inventory.winrm -i inventory.ini tests.yml \
|
2018-08-22 01:43:13 +02:00
|
|
|
"$@"
|