Thanks will try.

Kind regards

On Wednesday, 19 November 2014 16:47:50 UTC+10, Steve Kieu wrote:
>
> Hi everyone,
>
>
> I want to something like this
>
>
> - name: Run the setup script
>   shell: "{{ SITE_DIR }}"/setup_jibs.sh creates="{{ item 
> }}/run_setup_jibs_DO_NOT_REMOVE.sh"
>
> and yaml complain as it is not valid
>
> The first after the shell: must be a value that is why. If I put something 
>
> - name: Run the setup script
>   shell: cmd="{{ SITE_DIR }}"/setup_jibs.sh creates="{{ item 
> }}/run_setup_jibs_DO_NOT_REMOVE.sh"
>
> then yaml will be OK (noted the cmd=  ; But i guess it wont work - shell 
> does not have that attributes cmd and takes that as a string for teh shell 
> to execute.
>
> How can I get that done?
>
> Similar to the command module as well
>
> Thanks 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/92f3da81-62f2-47c4-85da-e889ac2ae0e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to