Sorry, I'm not understanding the above question.
Do you need to use the template module with a different delimiter because
"{{" occurs naturally in your file?
See the documentation note on http://docs.ansible.com/template_module.html
where it says "variable_start_string" and it will explain how to swap out
the delimiter for a specific file.
Let me know if you had a different question.
Thanks!
On Mon, Jun 2, 2014 at 5:16 AM, Faisal Ali Rabbani <[email protected]>
wrote:
>
> I am creating a dynamic playbook via template if I give
>
> {{
>
> it gives error. I decided to create playbook via template with single
> brace and later replace with double brace.
>
> {
>
> with
>
> {{
>
> Kindly guide me a way to replace any character in file. Is there any way
> to replace character in file.
>
> --
> 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/b30e6de9-3acb-4d51-a75f-dd6b7327fbd1%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/b30e6de9-3acb-4d51-a75f-dd6b7327fbd1%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CA%2BnsWgwaW7UNTQxTyKoaCeNFPY3N-ncSjHuydnapmNrXGVxdhQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.