blob: 4d5072433a1485f358774393e547c14156d8858e (
plain)
1
2
3
4
5
6
7
8
9
|
#!/usr/bin/env bash
set -ux
echo "Checking if sshpass is present"
command -v sshpass 2>&1 || exit 0
echo "sshpass is present, continuing with test"
sshpass -p my_password ansible-playbook -i inventory.ini test.yml -k "$@"
|