mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
390 B
Bash
16 lines
390 B
Bash
6 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -eux
|
||
|
|
||
|
# Install passlib on RHEL and FreeBSD
|
||
|
dist=$(python -c 'import platform; print(platform.dist()[0])')
|
||
|
system=$(python -c 'import platform; print(platform.system())')
|
||
|
|
||
|
if [[ "$dist" == "redhat" || "$system" == "FreeBSD" ]]; then
|
||
|
pip install passlib
|
||
|
fi
|
||
|
|
||
|
# Interactively test vars_prompt
|
||
|
pip install pexpect
|
||
|
python test-vars_prompt.py -i ../../inventory "$@"
|