diff options
author | Kelley Spoon <kelley.spoon@linaro.org> | 2018-08-26 00:52:28 -0500 |
---|---|---|
committer | Kelley Spoon <kelley.spoon@linaro.org> | 2018-08-26 00:52:28 -0500 |
commit | 6af5e083851014e653cf6a24c315d49cb2ef2633 (patch) | |
tree | a7d60e7b2b599ab8dfc39f2289ed27140115a978 | |
parent | 8b6ea069d15cc2cb311bfdf07ce91c0039a166d7 (diff) |
jansible and jansible-playbook wrapper scripts to output
corresponding ansible comands in json format
-rwxr-xr-x | jansible | 5 | ||||
-rwxr-xr-x | jansible-playbook | 4 |
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 $* |