Not really an ansible question, but you can always execute powershell
commands a windows host with access to the database server and this command

https://docs.microsoft.com/en-us/sql/database-engine/availability-groups/windows/resume-an-availability-database-sql-server?view=sql-server-2017#PowerShellProcedure


On Fri, 22 Mar 2019 at 16:33, <[email protected]> wrote:

> New question,
>
> Can i execute line command SQL in ansible ?
>
> How can i do it please ??
>
> Thanks
>
> Regards,
>
> Le vendredi 22 mars 2019 16:48:13 UTC+1, [email protected] a écrit :
>>
>> Hi all,
>>
>> *"* Data synchronization can be resumed by right-clicking on the
>> database and choosing "Resume data movement ...". *"*
>>
>>
>> [image: Resume_data_movement_of_sql_server.png]
>>
>> I want know if in ansible its possible to realize the same thing as on
>> the image.
>> That is to resynchronize a database?
>>
>> I see module database of ansible but without success.
>>
>> Someone have an idea please ?
>>
>> Thanks community ansible !! ;)
>>
>> Regards,
>>
>>
>> --
> 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 post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/6b91b4d9-7e93-408a-a579-8f3ddd0a42cf%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/6b91b4d9-7e93-408a-a579-8f3ddd0a42cf%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAMTXzjUAA1VWY6kMTMSTfCWo-upGL6bO_W8%3DOX0o%3DjV87twRAA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to