<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 13, 2019 at 10:33 AM Juan Cabrera <<a href="mailto:juan.cabrera@unamur.be">juan.cabrera@unamur.be</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF">
    <p>Hi,</p>
    <p>I'm using the roles that are in <a href="https://github.com/pulp/ansible-pulp" target="_blank">ansible-pulp</a>
      repository as recommended in the documentation.</p>
    <p>I would like to add the roles in my project using <a href="https://docs.ansible.com/ansible/latest/reference_appendices/galaxy.html#installing-multiple-roles-from-a-file" target="_blank">requirements.ylm</a>
      file and ansinble-galaxy. The problem is that usingĀ </p>
    <pre><span class="gmail-m_-3286739101964245581p gmail-m_-3286739101964245581p-Indicator">-</span> <span class="gmail-m_-3286739101964245581nt">src</span><span class="gmail-m_-3286739101964245581p">:</span> <span class="gmail-m_-3286739101964245581l gmail-m_-3286739101964245581l-Scalar gmail-m_-3286739101964245581l-Scalar-Plain"><a class="gmail-m_-3286739101964245581moz-txt-link-freetext" href="https://github.com/pulp/ansible-pulp" target="_blank">https://github.com/pulp/ansible-pulp</a></span>
  <span class="gmail-m_-3286739101964245581nt">version</span><span class="gmail-m_-3286739101964245581p">:</span> <span class="gmail-m_-3286739101964245581l gmail-m_-3286739101964245581l-Scalar gmail-m_-3286739101964245581l-Scalar-Plain">master</span>
  <span class="gmail-m_-3286739101964245581nt">name</span><span class="gmail-m_-3286739101964245581p">:</span> pulp
<span class="gmail-m_-3286739101964245581l gmail-m_-3286739101964245581l-Scalar gmail-m_-3286739101964245581l-Scalar-Plain"></span></pre>
    <div class="gmail-m_-3286739101964245581moz-signature"><br>
    </div>
    <div class="gmail-m_-3286739101964245581moz-signature">This do not work. Could it be possible to
      create a repo for each role?<br>
    </div>
    <div class="gmail-m_-3286739101964245581moz-signature"><br>
    </div>
    <div class="gmail-m_-3286739101964245581moz-signature">Thanks</div>
    <div class="gmail-m_-3286739101964245581moz-signature"><br>
    </div>
    <div class="gmail-m_-3286739101964245581moz-signature">Juan Cabrera<br><br></div></div></blockquote><div><br></div>Hi Juan,<div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>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.</div><div>-MikeĀ </div></div></div>