[Pulp-list] Can the roles in ansible-pulp be in separated repositories?

Mike DePaulo mikedep333 at redhat.com
Mon May 13 15:29:46 UTC 2019


On Mon, May 13, 2019 at 10:33 AM Juan Cabrera <juan.cabrera at unamur.be>
wrote:

> Hi,
>
> I'm using the roles that are in ansible-pulp
> <https://github.com/pulp/ansible-pulp> repository as recommended in the
> documentation.
>
> I would like to add the roles in my project using requirements.ylm
> <https://docs.ansible.com/ansible/latest/reference_appendices/galaxy.html#installing-multiple-roles-from-a-file>
> file and ansinble-galaxy. The problem is that using
>
> - src: https://github.com/pulp/ansible-pulp
>   version: master
>   name: pulp
>
>
> This do not work. Could it be possible to create a repo for each role?
>
> Thanks
>
> Juan Cabrera
>
>
Hi Juan,

As some background: On the Pulp project, we are trying to figure out how to
best use multiple git repos. This has been a problem for pulplift, with it
using forklift and ansible-pulp as submodules. Everytime the 2 subrepos get
updated, we have to update pulplift manually. I personaly end up just
symlinking forklift & ansible-pulp (under pulplift/) instead of using
submodules.

I can understand the very good use case of wanting to use ansible-pulp
roles in your overall/larger Ansible codebase. But I am concerned that it
will slow down development heavily to separate all 8 roles under
ansible-pulp/roles into separate git repos. That means that a single change
will now frequently involve up to 9 different repos.

Does anyone have any thoughts on how to overcome either Juan's difficulties
(with our current layout) or the ones we would have (with Juan's proposed
layout)? I can think of Juan using symlinks with our current layout.
-Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20190513/6624f454/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: omcphcigdpnkgjal.png
Type: image/png
Size: 9356 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20190513/6624f454/attachment.png>


More information about the Pulp-list mailing list