On Fri, Mar 8, 2019 at 8:06 AM <[email protected]> wrote: > > hi all, > > I want replace all caracter " & " by " \& " > > > - set_fact: > remplace: "{{ mon_groupe | replace('&', '\&') }}" > > but when i use this task it's not work. > It's works only i skip " \ " > Try '\\&' instead
> Someone have an idea please !! :) > > Thank you very much !! > > Regards, > > -- > 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/bdfa8028-f922-471b-94b5-1d7b81726a6c%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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/CAHEKYV6Q-PycX9yYZYuDKgcoqTemDL6cjiPBLCVpRKOz3rZS3g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
