You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
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
Michael Peters
unread,
Nov 19, 2014, 9:48:47 AM11/19/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
Instead of quoting each individual value, quote the whole line like this:
- name: Run the setup script
shell: "{{ SITE_DIR }}/setup_jibs.sh creates={{ item
}}/run_setup_jibs_DO_NOT_REMOVE.sh"