<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:Calibri;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">The error you’re seeing is because that role has dependencies which can’t be resolved.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The deps are here:<o:p></o:p></p>
<p class="MsoNormal"><a href="https://github.com/openstack/openstack-ansible-rabbitmq_server/blob/stable/newton/meta/main.yml#L35">https://github.com/openstack/openstack-ansible-rabbitmq_server/blob/stable/newton/meta/main.yml#L35</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Role requirements, to resolve the meta deps:<o:p></o:p></p>
<p class="MsoNormal"><a href="https://github.com/openstack/openstack-ansible-rabbitmq_server/blob/stable/newton/tests/ansible-role-requirements.yml">https://github.com/openstack/openstack-ansible-rabbitmq_server/blob/stable/newton/tests/ansible-role-requirements.yml</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">An example inventory, playbook, etc is all here:<o:p></o:p></p>
<p class="MsoNormal"><a href="https://github.com/openstack/openstack-ansible-rabbitmq_server/tree/stable/newton/tests">https://github.com/openstack/openstack-ansible-rabbitmq_server/tree/stable/newton/tests</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If you get stuck, feel free to join us in #openstack-ansible in IRC on Freenode.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">HTH,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Jesse<o:p></o:p></p>
<p class="MsoNormal">IRC: odyssey4me<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="color:black">From: </span>
</b><span style="color:black">"Shtilman, Tomer (Nokia - IL)" <tomer.shtilman@nokia.com><br>
<b>Reply-To: </b>"OpenStack Development Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org><br>
<b>Date: </b>Thursday, November 17, 2016 at 1:33 PM<br>
<b>To: </b>"openstack-dev@lists.openstack.org" <openstack-dev@lists.openstack.org><br>
<b>Subject: </b>[openstack-dev] [openstack-ansible][openstack-ansible-plugins] error in rabbitmq installation , config template plugin</span><span style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Times New Roman""><o:p> </o:p></span></p>
</div>
<p class="MsoNormal" style="margin-left:.5in">Hi All<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">I am relatively new to Ansible, trying to run a playbook installing rabbit server
<a href="https://github.com/openstack/openstack-ansible-rabbitmq_server">https://github.com/openstack/openstack-ansible-rabbitmq_server</a> (all stable/newton)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">- name: Install RabbitMQ server<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">  hosts: rabbitmq_all<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">  user: root<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">  roles:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">    - { role: "rabbitmq_server", tags: [ "rabbitmq-server" ] }<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">  vars:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">    rabbitmq_cookie_token: secrete<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">I get an error:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">statically included: /home/centos/ansible-installation/roles/dependencies/pip_install/tasks/configure.yml<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">The error appears to have been in '/home/centos/ansible-installation/roles/dependencies/pip_install/tasks/configure.yml': line 40, column 3, but may<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">be elsewhere in the file depending on the exact syntax problem.<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">The offending line appears to be:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">- name: Drop pip global config(s)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">  ^ here<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">The task is :<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">- name: Drop pip global config(s)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">  config_template:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">    src: "global.conf.j2"<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">    ……<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">config_template task is coming from
<a href="https://github.com/openstack/openstack-ansible-plugins/blob/master/action/_v2_config_template.py">
https://github.com/openstack/openstack-ansible-plugins/blob/master/action/_v2_config_template.py</a> and cloned locally<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">also I have set the action_plugins = /home/centos/openstack-ansible-plugins:/home/centos/openstack-ansible-plugins/action<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">from a bit of debugging its look like the the path is scanned
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Any ideas will be appreciated<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Tomer<o:p></o:p></p>
</div>
   
<hr>
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 abuse@rackspace.com and delete the original message. Your cooperation is appreciated.
</body>
</html>