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)" <tomer.shtil...@nokia.com>
Reply-To: "OpenStack Development Mailing List (not for usage questions)" 
<openstack-dev@lists.openstack.org>
Date: Thursday, November 17, 2016 at 1:33 PM
To: "openstack-dev@lists.openstack.org" <openstack-dev@lists.openstack.org>
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 - 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 ab...@rackspace.com and delete the original message. Your cooperation 
is appreciated.
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to