aboutsummaryrefslogtreecommitdiffstats
path: root/bin/env
blob: 3a637018efc0783eebdad861f6f53a851365ace7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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.