Hi, Eduardo
firstly worth to check if path exists:
ls /usr/local/lib/python3.6/site-packages/ansible_mitogen/plugins/strategy
you don't need specify 'strategy_plugins' in playbook, it's only for configuration file ansible.cfg, see my example in the article
is the path exists, just export it:
Ok, now I see mitogen strategy working. But execution measurement time is the same with and without mitogen in my case (about 30min execution).
Do you know in which cases time execution will be very similar between strategies?
PD: right now I'm deploying just 1 host, a college says to me maybe I can find improvements with 2 or more hosts.
Yes, if ansible is not your bottleneck and you have much more long tasks, you can't see the improvement really, that's what I'm writing in the article in last example.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi, Eduardo
firstly worth to check if path exists:
ls /usr/local/lib/python3.6/site-packages/ansible_mitogen/plugins/strategy
you don't need specify 'strategy_plugins' in playbook, it's only for configuration file ansible.cfg, see my example in the article
is the path exists, just export it:
export ANSIBLE_STRATEGY_PLUGINS=/usr/local/lib/python3.6/site-packages/ansible_mitogen/plugins/strategy
and then run your playbook
Ok, now I see mitogen strategy working. But execution measurement time is the same with and without mitogen in my case (about 30min execution).
Do you know in which cases time execution will be very similar between strategies?
PD: right now I'm deploying just 1 host, a college says to me maybe I can find improvements with 2 or more hosts.
Yes, if ansible is not your bottleneck and you have much more long tasks, you can't see the improvement really, that's what I'm writing in the article in last example.