[openstack-dev] [openstack-ansible][openstack-ansible-plugins] error in rabbitmq installation , config template plugin

Shtilman, Tomer (Nokia - IL) tomer.shtilman at nokia.com
Thu Nov 17 13:33:21 UTC 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20161117/2a76b754/attachment.html>


More information about the OpenStack-dev mailing list