Skip to content
Snippets Groups Projects
Unverified Commit c40b43de authored by Cristian Calin's avatar Cristian Calin Committed by GitHub
Browse files

[mitogent] update to 0.3.2 (#8470)

parent b0eb5650
No related branches found
No related tags found
No related merge requests found
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
- hosts: localhost - hosts: localhost
strategy: linear strategy: linear
vars: vars:
mitogen_version: 0.3.0rc1 mitogen_version: 0.3.2
mitogen_url: https://github.com/dw/mitogen/archive/v{{ mitogen_version }}.tar.gz mitogen_url: https://github.com/mitogen-hq/mitogen/archive/refs/tags/v{{ mitogen_version }}.tar.gz
ansible_connection: local ansible_connection: local
tasks: tasks:
- name: Create mitogen plugin dir - name: Create mitogen plugin dir
...@@ -38,7 +38,12 @@ ...@@ -38,7 +38,12 @@
- name: add strategy to ansible.cfg - name: add strategy to ansible.cfg
ini_file: ini_file:
path: ansible.cfg path: ansible.cfg
section: defaults
option: strategy
value: mitogen_linear
mode: 0644 mode: 0644
section: "{{ item.section | d('defaults') }}"
option: "{{ item.section }}"
value: "{{ item.value }}"
with_items:
- option: strategy
value: mitogen_linear
- option: strategy_plugins
value: plugins/mitogen/ansible_mitogen/plugins/strategy
...@@ -7,10 +7,10 @@ ...@@ -7,10 +7,10 @@
## Install ## Install
```ShellSession ```ShellSession
ansible-playbook mitogen.yml ansible-playbook contrib/mitogen/mitogen.yml
``` ```
Ensure to enable mitogen use by environment varialbles: The above playbook sets the ansible `strategy` and `strategy_plugins` in `ansible.cfg` but you can also enable them if you use your own `ansible.cfg` by setting the environment varialbles:
```ShellSession ```ShellSession
export ANSIBLE_STRATEGY=mitogen_linear export ANSIBLE_STRATEGY=mitogen_linear
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment