self-hosting/ansible.sh

9 lines
136 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
2019-06-15 23:35:34 +02:00
export SCW_TOKEN=`jq '.token' -r ~/.scwrc`
2019-05-25 23:30:56 +02:00
ansible-playbook "$@"