self-hosting/ansible.sh
2019-06-15 23:35:34 +02:00

8 lines
136 B
Bash
Executable file

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