I agree that the current setup is not ideal for the long term, and Mike's
reasoning for why it is that way today is spot on. I am hopeful that these
problems will be solved (at least in part) by mazer, which allows
repositories with multiple roles but is still considered experimental.

On Mon, May 13, 2019 at 1:22 PM Juan Cabrera <[email protected]> wrote:

>
>
> 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
>
> Thanks Mike,
>
> Yes, you are right, now I use ansible-pulp as a submodule in a separated
> directory in my git project and then I had symlinks in my roles directory.
>
> The work flow in my university is to clone the project with roles from our
> gitlab as submodules and external roles are installed using requirements.
>
> ansible
>
> ├── requirements.yml
> ├── roles
> │   ├── pulp -> ../../submodules/roles-pulp/roles/pulp
> (this is from ansible-pulp)
> │   ├── pulp-content -> ../../submodules/roles-pulp/roles/pulp-content
> │   ├── pulp-database -> ../../submodules/roles-pulp/roles/pulp-database
> │   ├── pulp-dependencies    (this is a submodule from the gitlab repo)
> │   │   ├── defaults
> │   │   │   └── main.yml
> │   │   ├── handlers
> │   │   │   └── main.yml
> │   │   ├── meta
> ....
>
> ├── roles.galaxy
> │   └── geerlingguy.postgresql   (this is installed with ansible-galaxy)
> │       ├── defaults
> │       │   └── main.yml
> │       ├── handlers
>
> ___
>
> Juan
> --
>
> Juan CABRERA
> Correspondant informatique
> Département de Mathématiques
>
> T. 081724919
> [email protected]
> http://staff.unamur.be/jbcabrer
>
> Université de Namur ASBL
> Rue de Bruxelles 61 - 5000 Namur
> Belgique
>
> Let’s respect the environment together.
> Only print this message if necessary!
> _______________________________________________
> Pulp-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/pulp-list
_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to