|
28 | 28 | C(getslave) (SHOW SLAVE STATUS),
|
29 | 29 | C(startslave) (START SLAVE),
|
30 | 30 | C(stopslave) (STOP SLAVE),
|
31 |
| - C(resetmaster) (RESET MASTER) - supported since community.mysql 0.2.0, |
| 31 | + C(resetmaster) (RESET MASTER) - supported since community.mysql 0.1.0, |
32 | 32 | C(resetslave) (RESET SLAVE),
|
33 | 33 | C(resetslaveall) (RESET SLAVE ALL).
|
34 | 34 | type: str
|
|
115 | 115 | - Available since MariaDB 10.0.2.
|
116 | 116 | choices: [current_pos, slave_pos, disabled]
|
117 | 117 | type: str
|
118 |
| - version_added: '0.2.0' |
| 118 | + version_added: '0.1.0' |
119 | 119 | master_delay:
|
120 | 120 | description:
|
121 | 121 | - Time lag behind the master's state (in seconds).
|
122 | 122 | - Available from MySQL 5.6.
|
123 | 123 | - For more information see U(https://dev.mysql.com/doc/refman/8.0/en/replication-delayed.html).
|
124 | 124 | type: int
|
125 |
| - version_added: '0.2.0' |
| 125 | + version_added: '0.1.0' |
126 | 126 | connection_name:
|
127 | 127 | description:
|
128 | 128 | - Name of the master connection.
|
129 | 129 | - Supported from MariaDB 10.0.1.
|
130 | 130 | - Mutually exclusive with I(channel).
|
131 | 131 | - For more information see U(https://mariadb.com/kb/en/library/multi-source-replication/).
|
132 | 132 | type: str
|
133 |
| - version_added: '0.2.0' |
| 133 | + version_added: '0.1.0' |
134 | 134 | channel:
|
135 | 135 | description:
|
136 | 136 | - Name of replication channel.
|
137 | 137 | - Multi-source replication is supported from MySQL 5.7.
|
138 | 138 | - Mutually exclusive with I(connection_name).
|
139 | 139 | - For more information see U(https://dev.mysql.com/doc/refman/8.0/en/replication-multi-source.html).
|
140 | 140 | type: str
|
141 |
| - version_added: '0.2.0' |
| 141 | + version_added: '0.1.0' |
142 | 142 | fail_on_error:
|
143 | 143 | description:
|
144 | 144 | - Fails on error when calling mysql.
|
145 | 145 | type: bool
|
146 | 146 | default: False
|
147 |
| - version_added: '0.2.0' |
| 147 | + version_added: '0.1.0' |
148 | 148 |
|
149 | 149 | notes:
|
150 | 150 | - If an empty value for the parameter of string type is needed, use an empty string.
|
|
231 | 231 | returned: always
|
232 | 232 | type: list
|
233 | 233 | sample: ["CHANGE MASTER TO MASTER_HOST='master2.example.com',MASTER_PORT=3306"]
|
234 |
| - version_added: '0.2.0' |
| 234 | + version_added: '0.1.0' |
235 | 235 | '''
|
236 | 236 |
|
237 | 237 | import os
|
|
0 commit comments