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.
ansible/test/integration/targets/connection_delegation/runme.sh

10 lines
225 B
Bash

#!/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 "$@"