From 95e0e803143756ef5d4cf7821b7e94b5fd13a7c7 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 6 Sep 2016 15:09:42 +0300 Subject: Add Ansible playbook to config LAN1 --- ansible/run-playbook | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 ansible/run-playbook (limited to 'ansible/run-playbook') diff --git a/ansible/run-playbook b/ansible/run-playbook new file mode 100755 index 0000000..c796862 --- /dev/null +++ b/ansible/run-playbook @@ -0,0 +1,16 @@ +#!/bin/sh + +set -eu + +abspath() +{ + (cd "$1" && pwd) +} + +srcdir() +{ + abspath "$(dirname "$0")" +} + +export PASSWORD_STORE_DIR="$(srcdir)"/secrets +ansible-playbook -i hosts "$@" -- cgit v1.2.1