self-hosting/ansible.sh
2019-05-25 23:30:56 +02:00

8 lines
129 B
Bash
Executable file

#! /usr/bin/env nix-shell
#! nix-shell -i bash -p ansible jq
set -e
SCW_TOKEN=`jq '.token' -r ~/.scwrc`
ansible-playbook "$@"