From 6af5e083851014e653cf6a24c315d49cb2ef2633 Mon Sep 17 00:00:00 2001 From: Kelley Spoon Date: Sun, 26 Aug 2018 00:52:28 -0500 Subject: jansible: add in jansible script jansible and jansible-playbook wrapper scripts to output corresponding ansible comands in json format --- jansible | 5 +++++ jansible-playbook | 4 ++++ 2 files changed, 9 insertions(+) create mode 100755 jansible create mode 100755 jansible-playbook 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 $* -- cgit v1.2.3