mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
16 lines
324 B
Bash
16 lines
324 B
Bash
|
#!/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 \
|
||
|
"$@"
|