ansible/test/integration/targets/setup_paramiko/setup.sh

8 lines
324 B
Bash

#!/usr/bin/env bash
# Usage: source ../setup_paramiko/setup.sh
set -eux
source virtualenv.sh # for pip installs, if needed, otherwise unused
ansible-playbook ../setup_paramiko/install.yml -i ../setup_paramiko/inventory "$@"
trap 'ansible-playbook ../setup_paramiko/uninstall.yml -i ../setup_paramiko/inventory "$@"' EXIT