<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">http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.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">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_enabled: true<br>      mongodb_processManagement_fork: true<br>      mongodb_systemLog_logAppend: true<br>      mongodb_systemLog_timeStampFormat: 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/ansible/roles:/etc/ansible/roles:/home/centos<br><br>The error appears to have been in '/etc/ansible/roles/jtyr.mongodb/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/">https://galaxy.ansible.com/jtyr/pulp/</a><br><br><br></div><div>Thanks,<br></div><div>Dennis<br></div></div>