summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKelley Spoon <kelley.spoon@linaro.org>2018-08-26 00:52:28 -0500
committerKelley Spoon <kelley.spoon@linaro.org>2018-08-26 00:52:28 -0500
commit6af5e083851014e653cf6a24c315d49cb2ef2633 (patch)
treea7d60e7b2b599ab8dfc39f2289ed27140115a978
parent8b6ea069d15cc2cb311bfdf07ce91c0039a166d7 (diff)
jansible: add in jansible scriptHEADmaster
jansible and jansible-playbook wrapper scripts to output corresponding ansible comands in json format
-rwxr-xr-xjansible5
-rwxr-xr-xjansible-playbook4
2 files changed, 9 insertions, 0 deletions
diff --git a/jansible b/jansible
new file mode 100755
index 0000000..db10040
--- /dev/null
+++ b/jansible
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+export ANSIBLE_LOAD_CALLBACK_PLUGINS=1
+export ANSIBLE_STDOUT_CALLBACK=json
+ansible $*
diff --git a/jansible-playbook b/jansible-playbook
new file mode 100755
index 0000000..d1e28fd
--- /dev/null
+++ b/jansible-playbook
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+export ANSIBLE_STDOUT_CALLBACK=json
+ansible-playbook $*