<div dir="ltr"><div><div><div>Hi,<br><br></div>please note that such tasks are executed inside 'mcollective' docker container, not on the Fuel master host system.<br><br></div>Regards,<br></div>Alex<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 3, 2015 at 10:41 PM, Igor Kalnitsky <span dir="ltr"><<a href="mailto:ikalnitsky@mirantis.com" target="_blank">ikalnitsky@mirantis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Javeria,<br>
<br>
Try to use 'master' in 'role' field. Example:<br>
<br>
- role: 'master'<br>
stage: pre_deployment<br>
type: shell<br>
parameters:<br>
cmd: echo all > /tmp/plugin.all<br>
timeout: 42<br>
<br>
Let me know if you need additional help.<br>
<br>
Thanks,<br>
Igor<br>
<br>
P.S: Since Fuel 7.0 it's recommended to use deployment_tasks.yaml<br>
instead of tasks.yaml. Please see Fuel Plugins wiki page for details.<br>
<div><div class="h5"><br>
On Tue, Nov 3, 2015 at 10:26 PM, Javeria Khan <<a href="mailto:javeriak@plumgrid.com">javeriak@plumgrid.com</a>> wrote:<br>
> Hey everyone,<br>
><br>
> I've been working on a fuel plugin and for some reason just cant figure out<br>
> how to run a task on the fuel master node through the tasks.yaml. Is there<br>
> even a role for it?<br>
><br>
> Something similar to what ansible does with localhost would work.<br>
><br>
> Thanks,<br>
> Javeria<br>
><br>
</div></div>> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br></div>