Make strategy_plugins obsolete
See original GitHub issueI’m super impressed by the speedup of ansible_mitogen !
However, there’s one thing blocking the rollout in our opensource project, and this is the fact that you need to specify the location of the ansible_mitogen strategy plugin in ansible.cfg
.
The location will veary depending of the type of installation, i.e. some will install it under ~/.local/lib/python3.6
, some under /user/local/lib/python3.7
, some in a virtualenv etc.
We like to ship a ansibile.cfg
that doesn’t need to get modified manually, so I wonder if there’s any change that ansible will try to find the plugin path by itself ? That would make it even easier for the user.
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Make strategy_plugins obsolete · Issue #568 · mitogen-hq ...
Totes understand the desire to use pip :) The trouble is that Ansible's plugin loader paths are completely separate. There is at least...
Read more >Strategy Plugins — Ansible Documentation
Strategy plugins control the flow of play execution by handling task and host scheduling. ... Strategy plugins shipped with Ansible are enabled by...
Read more >What Happens When Audio Software And Plugins Become ...
In this article, we look at the broader reasons developers discontinue software and offer some practical advice on how to best protect ...
Read more >Database of Outdated WordPress Plugins - FirstSiteGuide
Nearly half of all WordPress plugins in the official repository have not been updated in over two years. Search our database of outdated...
Read more >The Dangers of Outdated WordPress Plugins & Themes
Not months, years. By now, we all know that ignoring theme, plugin, and WordPress core updates can create severe security issues, compatibility issues,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
git subtree
would be one option… although git lfs bre.aks thatEnabling ARA on AWX is a bit more involved because of a bug around the default virtualenv inheriting from an Ansible installed by RPM: https://github.com/ansible/awx/issues/1737.
I never got to the bottom of it but the workaround is:
/var/lib/awx/venv/foo
/var/lib/awx/venv/foo/bin/pip install ansible ara
Re: options
I actually recommend users to install by pip inside a virtualenv. Can you expand on what is confusing with pypi ?
To clarify, do you mean something like
mitogen -i hosts playbook.yml
instead ofansible-playbook -i hosts playbook.yml
? I’ve been avoiding this option so far.I’ll report back if I get the chance to experiment on ~/.ansible
Let me know if you end up figuring that out, I’m interested 😄