It might help to actually state what the "syntax error" is. Also what version of ansible are you using?
On Sunday, November 2, 2014, hce h <[email protected]> wrote: > Hi, > > The following examples gave me a syntax error, appreciate clues to use > template inside creates statement. > > shell: "cp /tmp/{{ my_server }}.crt /etc/{{ my_server }}.crt" > args: > creates: /etc/{{ my_server }}.crt > > Thank you. > > Kind regards, > > - j > > -- > 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] > <javascript:_e(%7B%7D,'cvml','ansible-project%[email protected]');> > . > To post to this group, send email to [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/587031e4-c442-4f9d-9ab9-d03ad86227f2%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/587031e4-c442-4f9d-9ab9-d03ad86227f2%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Matt Martz @sivel sivel.net -- 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/CAD8N0v_e-fcB9yMeyJerqNDs67o7LstHJ6Qd1jK0Egop9pQS0A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
