How to execute a SQL Script ( MS SQL 2014 SP2 ) by Ansible

24 views
Skip to first unread message

ameya agashe

unread,
Nov 19, 2018, 11:36:36 PM11/19/18
to ansible...@googlegroups.com
Hello Guys,

I have copied a script on MS SQL server on c:\temp\always-on.sql

I'm wondering how to have it executed by Ansible, win_shell module? or is there any specialized module for MSSQL for Ansible?

Kindly assist

Thanks
Ameya Agashe 

Dick Visser

unread,
Nov 20, 2018, 1:07:05 AM11/20/18
to ansible...@googlegroups.com
There is no specific mssql query module part of ansible itself, but a 3rd party module does exist for this purpose: 
If you can, report on its usability.

Dick 

--
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/CAG9tf-9fwrSLU6RWeRbzV5fwiHJRL%3D1P9PNnkVvLEdBP72D2_g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
Sent from a mobile device - please excuse the brevity, spelling and punctuation.

ameya agashe

unread,
Nov 20, 2018, 6:58:39 AM11/20/18
to ansible...@googlegroups.com
Sounds good, I shall certainly try and provide feedback here.

Many thanks

Ameya Agashe

Reply all
Reply to author
Forward
0 new messages