It gets even more interesting if you get something like this:
define('AUTH_KEY', 'TccKCkdkq.}]I]I?$(.R@L)ASUysg%
AB(a5j+`A8_ra6Vu7D*h2Q]||}.{*#*b}5Xq'*);*
Because the ; makes the engine throw this error:
expected token 'end of print statement', got ';'
On Wednesday, August 14, 2013 at 8:48:22 AM UTC-7, Brian Coca wrote:
>
> {# #} is a jinja comment tag which is why it is gettitng confused here
> try:
> {{ '${#ArrayName[@]}' }}
>
>
> On Wed, Aug 14, 2013 at 11:41 AM, Dmitry Horbach <[email protected]
> <javascript:>> wrote:
>
>> Hi,
>>
>> Having simple template file with bash valid content like:
>>
>> ${#ArrayName[@]}
>>
>>
>> will break template module:
>>
>> - template: src=template dest=template2
>>
>> TASK: [template src=template dest=template2]
>> **********************************
>> fatal: [127.0.0.1] => {'msg': 'Missing end of comment tag', 'failed':
>> True}
>> fatal: [127.0.0.1] => {'msg': 'Missing end of comment tag', 'failed':
>> True}
>>
>> Is there any workaround for this?
>>
>> --
>> 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:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
>
> --
> Brian Coca
> Stultorum infinitus est numerus
>
> 0110000101110010011001010110111000100111011101000010000001111001011011110111010100100000011100110110110101100001011100100111010000100001
> Pedo mellon a minno
>
--
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/0c9420f7-74d3-4aaf-a037-38b012001df3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.