-
Notifications
You must be signed in to change notification settings - Fork 18
POC for Ansible Role Loader #106
Comments
A wip POC that works with current unmodified ansible: https://gist.github.com/alikins/d03ec3bea757e8f18f8d7667ae0c8b82 Another example of that POC, but also using ROLES_PATH precedence as a way to support "short role names": https://gist.github.com/alikins/279f35a26342919899453e6660b859d2 This is based on ansible's ability to reference roles by relative urls. |
From the discussion last week with @thaumos and @nitzmahone, we need to get the POC to a state where the community can try it out and provide feedback. Here's what we agreed to do:
To point 3 above (the one about installation), if it makes sense, could we make Ansible a dependency of Mazer, and specifically reference the feature branch in |
@chouseknecht "To point 3 above (the one about installation), if it makes sense, could we make Ansible a dependency of Mazer, and specifically reference the feature branch in requirements.txt?" Not sure it makes sense to me (mazer doesn't require ansible to be installed to run) but I'll poke at it a bit and see what happens. Main concern would be if that requirement would cause a 'pip install mazer' to potentially clobber an existing pip install of ansible (if virtualenv or similar tools aren't being used). |
https://ironboundsoftware.com/blog/2016/04/18/working-with-pip-branch/ seems to suggest the git branch dep is workable, but then it also mentions:
Also seems to generally assume virtualenv is in use, which may not be true. I'll test it out and see what happens. |
|
See ansible/galaxy#972 for galaxy.ansible.com/docs changes |
Fixes ansible/mazer#106 (cherry picked from commit 21387ce)
Fixes ansible/mazer#106 (cherry picked from commit 21387ce)
Work with Matt Davis to get a POC underway to load Ansible content installed by Mazer.
The text was updated successfully, but these errors were encountered: