Changes made in documentation (EXAMPLES section added)
Minor identation fixes
This commit is contained in:
parent
3b9171077c
commit
1a108a227e
1 changed files with 67 additions and 56 deletions
|
@ -105,6 +105,17 @@ options:
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
EXAMPLES = '''
|
||||||
|
# Stop mysql slave thread
|
||||||
|
- mysql_replication: mode=stopslave
|
||||||
|
|
||||||
|
# Get master binlog file name and binlog position
|
||||||
|
- mysql_replication: mode=getmaster
|
||||||
|
|
||||||
|
# Change master to master server 192.168.1.1 and use binary log 'mysql-bin.000009' with position 4578
|
||||||
|
- mysql_replication: mode=changemaster master_host=192.168.1.1 master_log_file=mysql-bin.000009 master_log_pos=4578
|
||||||
|
'''
|
||||||
|
|
||||||
import ConfigParser
|
import ConfigParser
|
||||||
import os
|
import os
|
||||||
import warnings
|
import warnings
|
||||||
|
|
Loading…
Add table
Reference in a new issue