Many thanks I was aware of the dependencies and download them all to /home/centos/ansible-installation/roles/dependencies
[centos@ansible-tests-tshtilma dependencies]$ ls apt_package_pinning lxc_container_create lxc_hosts openstack_hosts pip_install also my test playbook was taken from the examples so its almost identical Thanks From: Jesse Pretorius [mailto: ] Sent: יום ה 17 נובמבר 2016 15:45 To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [openstack-ansible][openstack-ansible-plugins] error in rabbitmq installation , config template plugin The error you’re seeing is because that role has dependencies which can’t be resolved. The deps are here: https://github.com/openstack/openstack-ansible-rabbitmq_server/blob/stable/newton/meta/main.yml#L35 The roles are mostly designed to be re-usable without the integrated repository, but to do so you’ll need to inspect the role tests to see what it needs to work: Role requirements, to resolve the meta deps: https://github.com/openstack/openstack-ansible-rabbitmq_server/blob/stable/newton/tests/ansible-role-requirements.yml An example inventory, playbook, etc is all here: https://github.com/openstack/openstack-ansible-rabbitmq_server/tree/stable/newton/tests If you get stuck, feel free to join us in #openstack-ansible in IRC on Freenode. HTH, Jesse IRC: odyssey4me From: "Shtilman, Tomer (Nokia - IL)" <[email protected]<mailto:[email protected]>> Reply-To: "OpenStack Development Mailing List (not for usage questions)" <[email protected]<mailto:[email protected]>> Date: Thursday, November 17, 2016 at 1:33 PM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: [openstack-dev] [openstack-ansible][openstack-ansible-plugins] error in rabbitmq installation , config template plugin Hi All I am relatively new to Ansible, trying to run a playbook installing rabbit server https://github.com/openstack/openstack-ansible-rabbitmq_server (all stable/newton) - name: Install RabbitMQ server hosts: rabbitmq_all user: root roles: - { role: "rabbitmq_server", tags: [ "rabbitmq-server" ] } vars: rabbitmq_cookie_token: secrete I get an error: statically included: /home/centos/ansible-installation/roles/dependencies/pip_install/tasks/configure.yml ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path. The error appears to have been in '/home/centos/ansible-installation/roles/dependencies/pip_install/tasks/configure.yml': line 40, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Drop pip global config(s) ^ here The task is : - name: Drop pip global config(s) config_template: src: "global.conf.j2" …… config_template task is coming from https://github.com/openstack/openstack-ansible-plugins/blob/master/action/_v2_config_template.py and cloned locally also I have set the action_plugins = /home/centos/openstack-ansible-plugins:/home/centos/openstack-ansible-plugins/action from a bit of debugging its look like the the path is scanned Any ideas will be appreciated Tomer ________________________________ Rackspace Limited is a company registered in England & Wales (company registered number 03897010) whose registered office is at 5 Millington Road, Hyde Park Hayes, Middlesex UB3 4AZ. Rackspace Limited privacy policy can be viewed at www.rackspace.co.uk/legal/privacy-policy<http://www.rackspace.co.uk/legal/privacy-policy> - This e-mail message may contain confidential or privileged information intended for the recipient. Any dissemination, distribution or copying of the enclosed material is prohibited. If you receive this transmission in error, please notify us immediately by e-mail at [email protected]<mailto:[email protected]> and delete the original message. Your cooperation is appreciated.
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
