The task that i use is :
- name: Liste les groupes dans mes_groupes
find:
paths: /{{ role_path }}/files/groups/
register: mes_groupes
delegate_to: localhost
- debug:
var: mes_groupes
Why mes_groupes no content only the file who is in my path ?
Le vendredi 8 mars 2019 14:58:11 UTC+1, Mauricio Tavares a écrit :
>
> On Fri, Mar 8, 2019 at 8:06 AM <[email protected] <javascript:>> 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] <javascript:>.
> > To post to this group, send email to [email protected]
> <javascript:>.
> > 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/71eef5e2-49c0-4423-9839-9c5d5fed6b82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.