I concur, in infra we install roles from git repos.
Those are defined in a yaml that are then feeded to ansible-galaxy tool:

http://git.openstack.org/cgit/openstack-infra/system-config/tree/roles.yaml

Regards

2016-07-13 17:58 GMT+02:00 David Moreau Simard <[email protected]>:

> On Wed, Jul 13, 2016 at 9:06 AM, Wesley Hayutin <[email protected]>
> wrote:
> > We also considered ansible-galaxy and any of the ansible roles found in
> > github/redhat-openstack/ansible-role could be moved into galaxy.  Galaxy
> did
> > not end up meeting our requirements for installing the roles and we
> ended up
> > using python setuptools.  Some roles have specific config and playbooks
> that
> > need to be copied to a standard location and galaxy just did not do that
> > very well.
>
> What special requirements do you have around that ?
> I'm able to install roles both from git (zuul-cloner) and from
> ansible-galaxy just fine.
>
> - ansible-role-requirements.yml [1]
> - ansible-galaxy install [2]
> - ansible.cfg role path [3]
>
> Stuff doesn't necessarily need to be "uploaded" to galaxy.
> ansible-galaxy is really a glorified wrapper around git :)
>
> [1]:
> https://github.com/rdo-infra/weirdo/blob/master/ansible-role-requirements.yml
> [2]: https://github.com/rdo-infra/weirdo/blob/master/tox.ini#L26
> [3]:
> https://github.com/rdo-infra/weirdo/blob/master/playbooks/ansible.cfg#L9
>
> David Moreau Simard
> Senior Software Engineer | Openstack RDO
>
> dmsimard = [irc, github, twitter]
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: [email protected]?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to