self-hosting/ansible.sh

9 lines
129 B
Bash
Raw Normal View History

2019-05-25 23:30:56 +02:00
#! /usr/bin/env nix-shell
#! nix-shell -i bash -p ansible jq
set -e
SCW_TOKEN=`jq '.token' -r ~/.scwrc`
ansible-playbook "$@"