<div dir="ltr">Thank you for such prompt response! That got me unstuck! <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 18, 2017 at 4:27 PM, Jiri Tyr <span dir="ltr"><<a href="mailto:jiri.tyr@gmail.com" target="_blank">jiri.tyr@gmail.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">Please follow these installation instructions:<div><br></div><div><a href="https://github.com/jtyr/ansible-config_encoder_filters#installation" target="_blank">https://github.com/jtyr/<wbr>ansible-config_encoder_<wbr>filters#installation</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Apr 18, 2017 at 6:24 PM, Dennis Kliban <span dir="ltr"><<a href="mailto:dkliban@redhat.com" target="_blank">dkliban@redhat.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>I would like to use the ansible Pulp role published on ansible galaxy[0]. However, I am having some trouble. I ran the following commands on my CentOS 7 box:<br><br>sudo yum install <a href="http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" target="_blank">http://dl.fedoraproject.org/pu<wbr>b/epel/epel-release-latest-7.<wbr>noarch.rpm</a><br>sudo yum install ansible<br>sudo ansible-galaxy install jtyr.pulp<br>sudo ansible-galaxy install jtyr.mongodb<br><br></div>I modified the first example from <a href="http://ansiblegalaxy.com" target="_blank">ansiblegalaxy.com</a> to create deploy_pulp.yml playbook. I prepended each role with jtyr. so ansible could recognize the installed role.<br><br><div># Example of a single host installation<br>- hosts: all<br>  roles:<br>    - role: jtyr.mongodb<br>      mongodb_net_bindIp: 127.0.0.1<br>      mongodb_net_wireObjectCheck: false<br>      mongodb_net_unixDomainSocket_e<wbr>nabled: true<br>      mongodb_processManagement_fork<wbr>: true<br>      mongodb_systemLog_logAppend: true<br>      mongodb_systemLog_timeStampFor<wbr>mat: iso8601-utc<br>    - role: jtyr.pulp<br>      pulp_install_qpid: true<br>      pulp_install_server: true<br>      pulp_install_admin: true<br>      pulp_install_consumer: true<br>      pulp_run_celerybeat: true<br>      pulp_run_resource_manager: true<br><br><br></div><div>Here is the output I get when I try to run the playbook.<br></div><div><br>[centos@pulp-cdn-mirror ~]$ sudo ansible-playbook -i i.txt deploy_pulp.yml<br>ERROR! the role 'config_encoder_filters' was not found in /home/centos/roles:/etc/ansibl<wbr>e/roles:/etc/ansible/roles:/<wbr>home/centos<br><br>The error appears to have been in '/etc/ansible/roles/jtyr.mongo<wbr>db/meta/main.yml': line 16, column 5, but may<br>be elsewhere in the file depending on the exact syntax problem.<br><br>The offending line appears to be:<br><br>dependencies:<br>  - config_encoder_filters<br>    ^ here<br><br><br></div><div>I then ran:<br></div><div><br>sudo ansible-galaxy install jtyr.config_encoder_filters<br><br><br></div><div>I am still getting an error. How can I install the roles in such a way that ansible recognizes them without the jtyr. prefix?<br></div><div><br><br>[0] <a href="https://galaxy.ansible.com/jtyr/pulp/" target="_blank">https://galaxy.ansible.com/jty<wbr>r/pulp/</a><br><br><br></div><div>Thanks,<br></div><div>Dennis<br></div></div>
<br></div></div>______________________________<wbr>_________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/pulp-list</a><br></blockquote></div><br></div>
</blockquote></div><br></div>