Hi All ,

        I want to write a task which does the following logs in to oracle
database using sqlplus

SQL> select 'drop user '||username||' cascade ;' from dba_users where
username like 'abc_%';

Execute the Drop queries Generated from the above query.

how to save output from dynamic sql and execute the in ansible playbook ?

Thanks,
-- 
Asad Hasan
+91 9582111698

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/CAG3LsKGcG2z2PUX0F7201kekJMAgC_tm40FDZSQE0_mKiga1TA%40mail.gmail.com.

Reply via email to