File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 27
27
delegate_to : " {{ mysql_replication_master }}"
28
28
register : master
29
29
when : >
30
- ((slave.Is_Slave is defined and not slave.Is_Slave) or (slave.Is_Slave is not defined and slave| failed))
30
+ ((slave.Is_Slave is defined and not slave.Is_Slave) or (slave.Is_Slave is not defined and slave is failed))
31
31
and (mysql_replication_role == 'slave')
32
32
and (mysql_replication_master != '')
33
33
41
41
master_log_pos : " {{ master.Position }}"
42
42
ignore_errors : True
43
43
when : >
44
- ((slave.Is_Slave is defined and not slave.Is_Slave) or (slave.Is_Slave is not defined and slave| failed))
44
+ ((slave.Is_Slave is defined and not slave.Is_Slave) or (slave.Is_Slave is not defined and slave is failed))
45
45
and (mysql_replication_role == 'slave')
46
46
and (mysql_replication_master != '')
47
47
and mysql_replication_user
48
48
49
49
- name : Start replication.
50
50
mysql_replication : mode=startslave
51
51
when : >
52
- ((slave.Is_Slave is defined and not slave.Is_Slave) or (slave.Is_Slave is not defined and slave| failed))
52
+ ((slave.Is_Slave is defined and not slave.Is_Slave) or (slave.Is_Slave is not defined and slave is failed))
53
53
and (mysql_replication_role == 'slave')
54
54
and (mysql_replication_master != '')
You can’t perform that action at this time.
0 commit comments