Helper scripts using nix

This commit is contained in:
Paul-Henri Froidmont 2019-05-25 23:30:56 +02:00
parent 6938694a84
commit bfc85a9fab
2 changed files with 17 additions and 0 deletions

8
ansible.sh Executable file
View file

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