aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ansible/.gitignore1
-rw-r--r--ansible/Makefile9
-rw-r--r--ansible/ansible.cfg3
-rw-r--r--ansible/requirements.txt1
4 files changed, 14 insertions, 0 deletions
diff --git a/ansible/.gitignore b/ansible/.gitignore
index cc4e01f..4c544d5 100644
--- a/ansible/.gitignore
+++ b/ansible/.gitignore
@@ -5,3 +5,4 @@
vault-password
vault-password.asc
*.pyc
+env
diff --git a/ansible/Makefile b/ansible/Makefile
new file mode 100644
index 0000000..99574dc
--- /dev/null
+++ b/ansible/Makefile
@@ -0,0 +1,9 @@
+all: pip-install
+
+env:
+ virtualenv -p python3 env
+
+pip-install: env/.pip-install.cookie
+env/.pip-install.cookie: requirements.txt | env
+ env/bin/pip install -r $<
+ @touch "$@"
diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg
index 44749f8..7895123 100644
--- a/ansible/ansible.cfg
+++ b/ansible/ansible.cfg
@@ -6,3 +6,6 @@ nocows = True
stdout_callback = debug
vault_password_file = vault-password
roles_path = roles:thirdparty
+
+strategy_plugins = env/lib/python3.7/site-packages/ansible_mitogen/plugins/strategy
+strategy = mitogen_linear
diff --git a/ansible/requirements.txt b/ansible/requirements.txt
new file mode 100644
index 0000000..5eed6b2
--- /dev/null
+++ b/ansible/requirements.txt
@@ -0,0 +1 @@
+mitogen==0.2.3