Skip to content

Do the modules in this collection support to connect to a remote SQL server host? #182

Answered by briantist
caidingyu asked this question in Q&A
Discussion options

You must be logged in to vote

The modules in this collection all take a parameter sql_instance for which SQL server to manage, and make a direct connection that way. They do not require PowerShell to be executed on the SQL server host itself (though that can work too).

If your inventory is SQL server instances (including RDS), you can use delegate_to: to run the modules on a jump host.

The modules are also all tested with delegate_to: localhost (running them on the controller in pwsh), however they use an experimental connection and shell plugin to do so.

I helped write those plugins, and I have some loose, low priority plans to publish them but they aren't published now.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@caidingyu
Comment options

Answer selected by lowlydba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants