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/20200211233942.6d0dc015%40gmail.com.

Attachment: pgpiGSHfNYEP8.pgp
Description: OpenPGP digital signature

Reply via email to