[openstack-dev] [TripleO] Making TripleO CI easier to consume outside of TripleO CI

Ricardo Carrillo Cruz ricardo.carrillo.cruz at gmail.com
Wed Jul 13 16:04:25 UTC 2016


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 <dms at redhat.com>:

> On Wed, Jul 13, 2016 at 9:06 AM, Wesley Hayutin <whayutin at redhat.com>
> 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: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160713/fc1be016/attachment.html>


More information about the OpenStack-dev mailing list