2019-04-06 02:31:33 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
# Usage: source ../setup_paramiko/setup.sh
|
|
|
|
|
|
|
|
set -eux
|
|
|
|
|
|
|
|
source virtualenv.sh # for pip installs, if needed, otherwise unused
|
2021-02-08 23:35:00 +01:00
|
|
|
ANSIBLE_ROLES_PATH=../ ansible-playbook ../setup_paramiko/install.yml -i ../setup_paramiko/inventory "$@"
|
2019-04-06 02:31:33 +02:00
|
|
|
trap 'ansible-playbook ../setup_paramiko/uninstall.yml -i ../setup_paramiko/inventory "$@"' EXIT
|