-- With kind regards, Andrew Pashkin. cell phone - +7 (985) 898 57 59 Skype - waves_in_fluids e-mail - andrew....@gmx.co.uk
You control which roles are installed on your system, so that is really a matter of personal preference. If you use the ansible-galaxy tool to install roles from galaxy.ansible.com, you can specify both the version of the role (if the author is using versions) as well as the directory to save the role. That way, you could have multiple versions of the same role if you needed to.
The author and other information about each role is stored in the roles meta/main.yml, but is not used when declaring the dependency.
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/537C6ACC.7090602%40gmx.co.uk.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscribe@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/537C9861.3030505%40gmx.co.uk.
To post to this group, send email to ansible-project@googlegroups.com.
- I want to have option to automatically install all needed dependencies to run my playbook (Berkshelf can do that, but it, as well as Chef - pretty unpythonic tool)from roles developer perspective:
- I want to specify dependencies in a way that user who will use it will be able to fetch them and run my role in same environent as I intend.issues that that features lead to:
- How to solve version clashes between roles?PS
"Is there some reason behind that Ansible does not take in attention versions like Pip for example?"
Ansible-galaxy (you mean ansible-galaxy, not ansible) here, as a command line tool does take requirements files.
You can easily have one like
username1.rolename2,1.2.3username3.rolename4,4.5.6
and use it just like a pip requirements file
We've also said we're happy to entertain pull requests to add more features to the galaxy CLI, if you find something else in need of upgrades.
On Wed, May 21, 2014 at 8:13 AM, Andrew Pashkin <andrew....@gmx.co.uk> wrote:
On 21.05.2014 15:57, James Cammarata wrote:Yes, but I can't control what user of my role will have installed. And user do not want to dig through all downloaded roles guessing which exactly version from which author he need to be sure that nothing will break.
You control which roles are installed on your system, so that is really a matter of personal preference.
Is there some reason behind that Ansible does not take in attention versions like Pip for example? With Pip I can just set exact versions of dependencies that I need to run my project, and don't worry about anything, but this option is absent in Ansible, where there is a similar use case.
--
With kind regards, Andrew Pashkin.
cell phone - +7 (985) 898 57 59
Skype - waves_in_fluids
e-mail - andrew....@gmx.co.uk
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/537C9861.3030505%40gmx.co.uk.
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgxYfTZH653Buew6VfUmQogF1%2B1ibUEN7Nq%2BE-6xMCE6wA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
PS
Can I specify versions in meta/main.yml in such format: username1.rolename2,1.2.3?
How pull requests for Ansible are happen? Do I need to create an issue on GitHub at first?
Thoughts on topic:
from the user perspective:
- I want to have option to automatically install all needed dependencies to run my playbook (Berkshelf can do that, but it, as well as Chef - pretty unpythonic tool)
I'm adding a thought:
- How to handle role which are not on the Galaxy repository ?(gitmodule ? Galaxy command improvements to add direct link to meta/main.yml from a repository ? ...)