From 2767c495b16bf41c8b8d483d4d571e1727df8710 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Thu, 31 Dec 2015 10:16:09 +0100 Subject: [PATCH] Add script for local execution of role. --- local.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 local.sh diff --git a/local.sh b/local.sh new file mode 100755 index 0000000..ebe8851 --- /dev/null +++ b/local.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +ansible-playbook role.yml \ + --limit "$(uname -n)" \ + -e "bash_users=['$USER']" \ + -e "role_path=$(pwd)" +