<div dir="ltr"><div><div><div><div>I was confused about how this works recently, so I dug around to get a better idea. I learned some things that might be helpful to you:<br><br></div><div></div></div><ul><li>The normal repo file is not created for some reason for f24: <a href="https://github.com/pulp/devel/blob/master/ansible/roles/dev/tasks/main.yml#L15" target="_blank">https://github.com/pulp/devel/<wbr>blob/master/ansible/roles/dev/<wbr>tasks/main.yml#L15</a></li><li>This is where we use rpmspec to look for Requires: <a href="https://github.com/pulp/devel/blob/ef8a10122eb7d64b20d6410ef32f768def147a26/ansible/library/pulp_facts.py#L42">https://github.com/pulp/devel/blob/ef8a10122eb7d64b20d6410ef32f768def147a26/ansible/library/pulp_facts.py#L42</a><br></li><li>This is where those deps are installed. <a href="https://github.com/pulp/devel/blob/master/ansible/roles/dev/tasks/main.yml#L88">https://github.com/pulp/devel/blob/master/ansible/roles/dev/tasks/main.yml#L88</a></li></ul><p>Also, I do expect the dev role to install pulp-server dependencies, but I do not expect the pulp_server role to run on a dev system.</p></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 10, 2016 at 1:47 PM, Brian Bouterse <span dir="ltr"><<a href="mailto:bbouters@redhat.com" target="_blank">bbouters@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I ran into this issue [0] where vagrant up (master of pulp/devel) was not installing Kobo. Kobo is listed[1] as a dependency in the spec file on 2.10-dev, and I thought the Ansible dev playbook inspected the spec file for each plugin and platform and dnf installed those items. I was surprised when it was not installed by the Ansible playbook.<br><br></div><div>I thought this line would do it which installs pulp-server [2] via rpm which should bring in kobo as a dependency.<br><br></div><div>* Do others expect ansible dev to install pulp-server dependencies listed in the pulp.spec<br></div><div>* Any insight into why this didn't happen?<br></div><div>* Can someone explain to me how our dependencies are supposed to be treated by the dev Ansible playbook?<br></div><div><br>[0]: <a href="https://pulp.plan.io/issues/2481" target="_blank">https://pulp.plan.io/issues/<wbr>2481</a><br>[1]: <a href="https://github.com/pulp/pulp/blob/60e85bf4383a8c0bc5ef054c42bfc3928777fd80/pulp.spec#L382" target="_blank">https://github.com/pulp/pulp/<wbr>blob/<wbr>60e85bf4383a8c0bc5ef054c42bfc3<wbr>928777fd80/pulp.spec#L382</a><br>[2]: <a href="https://github.com/pulp/devel/blob/8604223e2e23e208aa69e40d26e43c3c1f7c2c84/ansible/roles/pulp/tasks/pulp_server.yaml#L48" target="_blank">https://github.com/pulp/devel/<wbr>blob/<wbr>8604223e2e23e208aa69e40d26e43c<wbr>3c1f7c2c84/ansible/roles/pulp/<wbr>tasks/pulp_server.yaml#L48</a><br><br></div><div>Thank you!<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">Brian<br></font></span></div>
<br>______________________________<wbr>_________________<br>
Pulp-dev mailing list<br>
<a href="mailto:Pulp-dev@redhat.com">Pulp-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-dev" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/pulp-dev</a><br>
<br></blockquote></div><br></div>