Hi, This is because ansible only looks in the cwd or in /usr/lib/ansible according to the documentation. I have submitted a PR to rbac-playbook to fix the cwd: https://bitbucket.org/tflink/ansible_utils/pull-request/3/set-the-correct-working-directory/diff With kind regards, Patrick Uiterwijk Fedora Infra ----- Original Message ----- > I created ./filter_plugins/openstack.py in our ansible.git to easy writing > host_vars in our new cloud. > So instead of ids you can write names of networks, images... > > So far I tested it on separate machine and it works, when I have this > directory in ./ and I run ansible playbook in that > directory. And according the ansible documentation the directory structure is > correct and those filters should be loaded > automaticaly without need to load them directly. > > However: > $ sudo rbac-playbook groups/copr-backend.yml > EXECV: /usr/bin/sudo -i /bin/bash -i -c /usr/bin/python2 > /usr/bin/ansible-playbook > /srv/web/infra/ansible/playbooks/groups/copr-backend.yml > > PLAY [check/create instance] > ************************************************** > > TASK: [spin UP VM using nova_compute] > ***************************************** > fatal: [copr-be-dev.cloud.fedoraproject.org -> 127.0.0.1] => template error > while templating string: no filter named > 'image_name_to_id' > > FATAL: all hosts have already failed -- aborting > > > This playbook use new > tasks/persistent_cloud_new.yml > so it may not work completely, but the goal is to get past this error. I have > no clue how I can debug it on lockbox. > Can somebody from @sysadmin-main investigate it please? > -- > Miroslav Suchy, RHCE, RHCDS > Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys > _______________________________________________ > infrastructure mailing list > infrastructure@xxxxxxxxxxxxxxxxxxxxxxx > https://admin.fedoraproject.org/mailman/listinfo/infrastructure _______________________________________________ infrastructure mailing list infrastructure@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/infrastructure