summaryrefslogtreecommitdiff
path: root/shell-scripts/fawx
diff options
context:
space:
mode:
Diffstat (limited to 'shell-scripts/fawx')
-rw-r--r--shell-scripts/fawx8
1 files changed, 8 insertions, 0 deletions
diff --git a/shell-scripts/fawx b/shell-scripts/fawx
new file mode 100644
index 0000000..d7247bc
--- /dev/null
+++ b/shell-scripts/fawx
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Removes ansi escape codes from ansible outputs
+error () {
+ echo "$1"
+ exit 1
+}
+command -v awx || error "awx cli not found"
+awx "$@" | filter-ansi