aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/env14
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/env b/bin/env
new file mode 100755
index 0000000..3a63701
--- /dev/null
+++ b/bin/env
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -x
+
+if [ "${POETRY_ACTIVE}" ]; then
+
+ export ANSIBLE_STRATEGY_PLUGINS=$(find $VIRTUAL_ENV \
+ -type d \
+ -path "*lib/python3.*/ansible_mitogen/plugins/*" \
+ -name "strategy")
+ export ANSIBLE_STRATEGY="mitogen_linear"
+fi
+
+set +x
remember that computers suck.