--
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/100fd0dc-c083-4bd3-8e9f-dce0cb2c9b18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I know your thoughts on ansible-lint - that the behaviour should be integrated into core. But my pull request to do something along those lines has been open for 8 months https://github.com/ansible/ansible/pull/5123
Anyway, to focus on the main points you make.
My understanding is that ansible galaxy role versions matter at install time. I guess that means that each playbook installs the roles locally. This means that the problem of using one role version for uat and one role version for prod is not necessarily solved is it?
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/d9177e20-4009-40fd-8217-d7a2bacc9732%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8173919e-8948-4840-a58a-930bccb9259d%40googlegroups.com.
It tries a git ls-remote and an hg identify and then uses whichever succeeds.
Will
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/TawjChwaV08/unsubscribe.
To unsubscribe from this group and all its topics, 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%2BnsWgzFdWQS_H5PE1ijN4UAHsfUA5Foc%2BFzQ2hZa93twyw8tA%40mail.gmail.com.
# This will pull a role using the Ansible Galaxy API
role "kunik.deploy-upstart-scripts"
# This allows me to specify my own git repository as a source as well as a version number
role "disa-stig-rhel6", git: "g...@git.acme.com:ansible/role-disa-stig-rhel6.git", "1.0"
# I can also point to github repos
role "role "pgolm.ansible-playbook-monit", github: "pgolm/ansible-playbook-monit"
--
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/cc0614f4-4d5a-4f74-97d3-42de785bc445%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAGmGhM3AKe9JCOwnNZytgvA-rVjU0KW7E9G6e67c7wsdRgWYDw%40mail.gmail.com.
--
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/e9ac3279-cd16-4515-bbd0-92afb1a788fe%40googlegroups.com.
# Galaxy roles
adham.helal.authentication
agios.nginx-unicorn,1.3
# Custom roles using various protocols
disa-stig-rhel6,git,ssh://g...@git.acme.com:ansible/role-disa-stig-rhel6.git,1.0kibana,git,https://git.acme.com:ansible/role-kibana.gitlogstash,git,git://g...@git.acme.com:ansible/role-logstash.git
--
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/2946b30e-e772-44af-9592-f0fec3f8da30%40googlegroups.com.
# Custom roles using various protocols
git+ssh://git@git.acme.com:ansible/role-disa-stig-rhel6.git,1.0git+https://git.acme.com/ansible/role-kibana.gitgit+git://git@git.acme.com:ansible/role-logstash.git
+1
On Wed, Aug 13, 2014 at 10:57 AM, Sam Doran <sam....@me.com> wrote:
I like your syntax suggestion. That seems to fit more with the ansible project. I agree that specifying the protocol would be a good idea.
Here's what it might look like:
# Galaxy roles
adham.helal.authentication
agios.nginx-unicorn,1.3
# Custom roles using various protocols
disa-stig-rhel6,git,ssh://git@git.acme.com:ansible/role-disa-stig-rhel6.git,1.0kibana,git,https://git.acme.com:ansible/role-kibana.gitlogstash,git,git://git@git.acme.com:ansible/role-logstash.git
I'm happy enough with this approach but how do we apply that to role dependencies.
In my git test role I provide a git dependency:
https://bitbucket.org/willthames/git-ansible-galaxy/src/1e58ef87f234926caaf5e6b1f2c5378d90f476b1/meta/main.yml?at=master
This works with the ansible-galaxy in the pull request but would not as it stands without some form of scm detection.
On reflection, I think I'd be happiest with the scm+url suggestion - this would eliminate the need for scm detection and keep the role_name/url, role_version format of the rolesfile
role_name would continue to be derived from the repo name.
From Sam's example, this would then look more like this (not 100% happy with git+git but it's nicer than handling the special case).
# Custom roles using various protocols
git+ssh://g...@git.acme.com:ansible/role-disa-stig-rhel6.git,1.0git+git://g...@git.acme.com:ansible/role-logstash.git
I'm happy enough with this approach but how do we apply that to role dependencies.
In my git test role I provide a git dependency:
https://bitbucket.org/willthames/git-ansible-galaxy/src/1e58ef87f234926caaf5e6b1f2c5378d90f476b1/meta/main.yml?at=master
This works with the ansible-galaxy in the pull request but would not as it stands without some form of scm detection.
On reflection, I think I'd be happiest with the scm+url suggestion - this would eliminate the need for scm detection and keep the role_name/url, role_version format of the rolesfile
role_name would continue to be derived from the repo name.
From Sam's example, this would then look more like this (not 100% happy with git+git but it's nicer than handling the special case).# Custom roles using various protocols
git+ssh://git@git.acme.com:ansible/role-disa-stig-rhel6.git,1.0git+https://git.acme.com/ansible/role-kibana.gitgit+git://git@git.acme.com:ansible/role-logstash.git
This would end up with roles called e.g. role-logstash, which might not be what you want, but I would prefer to keep the rolesfile simple.
Will
On Thursday, August 14, 2014 12:59:43 AM UTC+10, Michael DeHaan wrote:
+1
On Wed, Aug 13, 2014 at 10:57 AM, Sam Doran <sam....@me.com> wrote:
I like your syntax suggestion. That seems to fit more with the ansible project. I agree that specifying the protocol would be a good idea.
Here's what it might look like:
# Galaxy roles
adham.helal.authentication
agios.nginx-unicorn,1.3
# Custom roles using various protocols
disa-stig-rhel6,git,ssh://git@git.acme.com:ansible/role-disa-stig-rhel6.git,1.0kibana,git,https://git.acme.com:ansible/role-kibana.gitlogstash,git,git://git@git.acme.com:ansible/role-logstash.git
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/2946b30e-e772-44af-9592-f0fec3f8da30%40googlegroups.com.--
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.
--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/TawjChwaV08/unsubscribe.
To unsubscribe from this group and all its topics, 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/e3e48247-98bb-44db-912c-ca953b624c04%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/551E689E-2833-4AE3-999A-FFFB0F005E21%40thames.id.au.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/af2e9ef3-19e1-4379-a6b8-439936841e7d%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/0520bf55-0dc0-4a3b-9c27-5d15da78a289%40googlegroups.com.
Ivo
+1
disa-stig-rhel6,git,ssh://git@git.acme.com:ansible/role-disa-stig-rhel6.git,1.0kibana,git,https://git.acme.com:ansible/role-kibana.git logstash,git,git://git@git.acme.com:ansible/role-logstash.git
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/2946b30e-e772-44af-9592-f0fec3f8da30%40googlegroups.com.--
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/af2e9ef3-19e1-4379-a6b8-439936841e7d%40googlegroups.com.--
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/0520bf55-0dc0-4a3b-9c27-5d15da78a289%40googlegroups.com.--
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.
--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/TawjChwaV08/unsubscribe.
To unsubscribe from this group and all its topics, 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%2BnsWgxP4WCqUf4MbhytOO-A%3DfiTnn8Dtz%2BHUhxJ3RD%2BTNQB5Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/B9D82A46-0916-4747-8323-5A9309F12251%40thames.id.au.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgxsMac6wEVHNVHTZimWaZVCR93rX0eO8qdVJgsiEUxznQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/4DEBED3F-10A0-401F-B067-749AA58CA13B%40thames.id.au.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgysLnzHtfENrdCRYBRnBzK6HsU2brNrxFBLQECGP0cV8w%40mail.gmail.com.