Hi Javeria,

Try to use 'master' in 'role' field. Example:

    - role: 'master'
      stage: pre_deployment
      type: shell
      parameters:
          cmd: echo all > /tmp/plugin.all
          timeout: 42

Let me know if you need additional help.

Thanks,
Igor

P.S: Since Fuel 7.0 it's recommended to use deployment_tasks.yaml
instead of tasks.yaml. Please see Fuel Plugins wiki page for details.

On Tue, Nov 3, 2015 at 10:26 PM, Javeria Khan <javer...@plumgrid.com> wrote:
> Hey everyone,
>
> I've been working on a fuel plugin and for some reason just cant figure out
> how to run a task on the fuel master node through the tasks.yaml. Is there
> even a role for it?
>
> Something similar to what ansible does with localhost would work.
>
> Thanks,
> Javeria
>
> __________________________________________________________________________
> 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
>

__________________________________________________________________________
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