Run Select query and Insert query inansible

28 views
Skip to first unread message

Tharindu Weerakoon

unread,
Dec 26, 2018, 4:33:00 AM12/26/18
to Ansible Project

Hello all,

I have got lot of answers for my previous post. Thanks for everyone.

Could you please help me to insert record to MYSQL db through the playbook.

Tharindu

Tharindu Weerakoon

unread,
Dec 29, 2018, 10:43:13 PM12/29/18
to ansible...@googlegroups.com
Hi anyone can support

--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/4ec5cf27-301d-4285-929d-295ede72cf20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kai Stian Olstad

unread,
Dec 30, 2018, 3:32:54 AM12/30/18
to ansible...@googlegroups.com
On Sunday, 30 December 2018 04:42:52 CET Tharindu Weerakoon wrote:
> Hi anyone can support
>
> On Wed, Dec 26, 2018 at 3:03 PM Tharindu Weerakoon <thari...@gmail.com>
> wrote:
>
> >
> > Hello all,
> >
> > I have got lot of answers for my previous post. Thanks for everyone.
> >
> > Could you please help me to insert record to MYSQL db through the playbook.

To my knowledge there is no Ansible module to do this.
So you need to find out how to do that on the command line. Then you have command, shell and script module at you disposal in Ansible.

If you are asking how to do that on the command line you should find the MySQL community and ask there.


--
Kai Stian Olstad


jbi...@eastridge.com

unread,
Dec 31, 2018, 2:10:40 PM12/31/18
to Ansible Project
Reply all
Reply to author
Forward
0 new messages