Native YAML - Databases/MsSQL (#3604)

pull/18777/head
Fabio Alessandro Locati 8 years ago committed by Matt Clay
parent 7ac053576e
commit 13b970d04b

@ -81,10 +81,19 @@ author: Vedit Firat Arig
EXAMPLES = ''' EXAMPLES = '''
# Create a new database with name 'jackdata' # Create a new database with name 'jackdata'
- mssql_db: name=jackdata state=present - mssql_db:
name: jackdata
state: present
# Copy database dump file to remote host and restore it to database 'my_db' # Copy database dump file to remote host and restore it to database 'my_db'
- copy: src=dump.sql dest=/tmp - copy:
- mssql_db: name=my_db state=import target=/tmp/dump.sql src: dump.sql
dest: /tmp
- mssql_db:
name: my_db
state: import
target: /tmp/dump.sql
''' '''
RETURN = ''' RETURN = '''

Loading…
Cancel
Save