New in version 2.2.
Automatically commit the change only if the import succeed. Sometimes it is necessary to use autocommit=true, since some content can't be changed within a transaction.
Host running the database
The password used to authenticate with
Port of the MSSQL server. Requires login_host be defined as other then localhost if login_port is used
The username used to authenticate with
name of the database to add or remove
The database state
Location, on the remote host, of the dump file to read from or write to. Uncompressed SQL files (
# Create a new database with name 'jackdata' - mssql_db: name: jackdata state: present # Copy database dump file to remote host and restore it to database 'my_db' - copy: src: dump.sql dest: /tmp - mssql_db: name: my_db state: import target: /tmp/dump.sql
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.