ANXS / nginx

A fairly flexible and feature full Ansible role for the NGINX web server.
MIT License
151 stars 82 forks source link

Ansible Galaxy dependency issues #22

Closed farridav closed 9 years ago

farridav commented 10 years ago

On Ansible galaxy, your roles are no longer listed under Ansibles, I found some under pjan.vandaele are they old? im not too clear on the distinction between the roles you have here, and the ones found in https://github.com/pjan/the-ansibles/, would you care to clarify for me?

To give a working example:

$ ansible-galaxy install Ansibles.nginx
    downloading role 'nginx', owned by Ansibles
    Sorry, Ansibles.nginx was not found on galaxy.ansible.com.

And when i use the pjan.vandaele.nginx version, i get unmet dependency issues:

$ ansible-galaxy install pjan.vandaele.nginx [...]
$ ansible-playbook --syntax-check my_playbook.yml 

playbook: my_playbook.yml

ERROR: cannot find role in [...]/Ansibles.hostname or [...]

I guess the dependencies will need updating here and anywhere else...

Feel free to point me in the right direction if ive misunderstood something..

Thanks in advance, and thanks for the great contributions!

farridav commented 10 years ago

Update, i can get things working by downloading your roles from ansible galaxy, then renaming them back to Ansibles. e.g:

  ansible-galaxy install pjan.vandaele.nginx
  mv .installed_roles/pjan.vandaele.nginx .installed_roles/Ansibles.nginx

So I guess the problem is with the changing of your name on ansible galaxy, it also affects other roles that depend on your role e.g - https://galaxy.ansible.com/list#/roles/740

pjan commented 10 years ago

Hi david; I'm aware of the issue.

The ppl from ansible force renamed my account on galaxy because it was "confusing". I haven't found the time to change all my roles, nor a good alternative name for the time being.

At the same time, github.com/Ansibles is currently set up as a group, and I'm looking for co-maintainers on its repos since I lack the time to properly do this. If you know ppl ... :-)

Sorry for the inconvenience. Will try to resolve all soon.

farridav commented 10 years ago

If you came up with a name/convention you wanted to use, Im sure I could write a script for cloning all of your repos, replacing the dependencies, then generating pull-requests :smile:

pjan commented 10 years ago

All have been changed to ANXS. I only need to release the nginx & postgres roles with a bumped up version (all others have been done), yet both have some issues/PRs that I would like to have cleared before. An additional maintainer would be awesome to move faster since I'm short of time due to work/life/..

farridav commented 10 years ago

Awesome, thanks very much, id be happy to contibute to the things I know about, my time is also limited, but Im sure i can help lessen the load with issues where possible.

pjan commented 9 years ago

@farridav there's been a maintainers group created on ANXS. If you'd be interested in joining, drop me a line (here or on twitter @pjan).

farridav commented 9 years ago

@pjan sure, feel free to add me to the maintainers group, my time is usually quite scattered, but when im working on ops, I can keep my eyes open and pitch in where possible

soupdiver commented 9 years ago

@pjan I would also be willing to help to maintain and further development of the roles

pjan commented 9 years ago

@farridav @soupdiver I'll add you both to the list of maintainers. I'm living a couple of hours ahead of you both, and @otakup0pe is behind.

I suggest we use gitter to talk, since asynchrony will be unavoidable (timezones & life), and this way we'll keep our inboxes a bit less congested? How does that sound? Other suggestions?

soupdiver commented 9 years ago

@pjan I haven't used gitter so far but looks good :)