Use this task locally:
https://docs.ansible.com/ansible/latest/collections/community/mysql/mysql_query_module.html



On Mon, 12 Dec 2022 at 18:37, saravanan jothilingam <
[email protected]> wrote:

> Hi
> I am a novice to ansible and slowly making my hand dirty out of it. I am
> trying out a usecase where I need to connect to a remote mysql dbserver
> from my ansible controller machine and execute some queries against that
> DB. I would like to know if there is any customized ansible playbook
> available to try with?
>
>  Appreciate this help!
>
> Thanks
> Saravanan
>
> --
> 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/CAE7H9qqX-%3DP5e9RzB0mXcwfww%2BDxzCacNFq4x3fizN9iUh_nPA%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAE7H9qqX-%3DP5e9RzB0mXcwfww%2BDxzCacNFq4x3fizN9iUh_nPA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
-- 
Sent from Gmail Mobile

-- 
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/CAF8BbLYnA7TQD75JWLou9qhGRtyvbR80Lf469hZTTFqwv_4ttg%40mail.gmail.com.

Reply via email to