diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-12-24 23:23:39 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-12-24 23:27:04 +0100 |
commit | e277e897190aa49bd2a62692eb59f3aa034b00d7 (patch) | |
tree | b2303b1bbf37f6ac0de36d1374d76831a7f17692 /ansible | |
parent | 4a705a1a029a66b422ed21d004de609e24e4fb95 (diff) | |
download | infra-e277e897190aa49bd2a62692eb59f3aa034b00d7.tar.gz infra-e277e897190aa49bd2a62692eb59f3aa034b00d7.tar.bz2 infra-e277e897190aa49bd2a62692eb59f3aa034b00d7.tar.xz infra-e277e897190aa49bd2a62692eb59f3aa034b00d7.zip |
o Adding Mitogen.
Diffstat (limited to 'ansible')
-rw-r--r-- | ansible/.gitignore | 1 | ||||
-rw-r--r-- | ansible/Makefile | 9 | ||||
-rw-r--r-- | ansible/ansible.cfg | 3 | ||||
-rw-r--r-- | ansible/requirements.txt | 1 |
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 |