Instead of maintaining another template file. Can I embed the content in 
the playbook itself ?

On Tuesday, February 11, 2020 at 5:57:09 PM UTC-5, Anand Solomon wrote:
>
> Thank you so much Vlado. This works fine. 
>
> On Tuesday, February 11, 2020 at 5:40:05 PM UTC-5, Vladimir Botka wrote:
>>
>> On Tue, 11 Feb 2020 14:02:45 -0800 (PST) 
>> Anand Solomon <[email protected]> wrote: 
>>
>> > I need to get this 
>> > Revoke EXECUTE on UTL_FILE from TESTACC1; Revoke EXECUTE on UTL_FILE 
>> from 
>> > TESTACC2; 
>>
>> To keep the element of the list in one line change the template. For 
>> example 
>>
>> $ cat revoke.sql.j2 
>> {% for line in query_result.msg|flatten %}{{ line }}{% endfor %} 
>>
>> HTH, 
>>
>>         -vlado 
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/7916702f-dad6-4c61-a512-77586d7cc1b6%40googlegroups.com.

Reply via email to