That should help

   vars:
       - a_column: "\x3A"

and use {{ a_column}} in the expression

There should be a proper/better way to escape it,
I think the point is arround the  " " (<white space>) that is after
the ':' so Yaml consider this a a mapping

HTH

2014/1/13 Stas Oskin <stas.os...@gmail.com>:
> Hi,
>
> I'm trying to use an instruction with lineinfile:
> - lineinfile:
> dest="{{deploy_root}}/{{instance}}/{{project}}/{{project}}/local_settings.py"
> regexp='^NAME' line="'NAME': '{{db_name}}',"
>
> No matter what I try, the column does not work.
>
> Any ideas will be appreciated!
>
> --
> 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 ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to