mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Helper scripts using nix
This commit is contained in:
parent
6938694a84
commit
bfc85a9fab
2 changed files with 17 additions and 0 deletions
8
ansible.sh
Executable file
8
ansible.sh
Executable 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 "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue