Skip to content

Commit 3fae14c

Browse files
authored
Merge pull request geerlingguy#270 from thunderrabbit/fix253
Fix geerlingguy#253 Using tests as filters deprecation warning
2 parents 29ae036 + 3830fc0 commit 3fae14c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tasks/replication.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
delegate_to: "{{ mysql_replication_master }}"
2828
register: master
2929
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))
3131
and (mysql_replication_role == 'slave')
3232
and (mysql_replication_master != '')
3333
@@ -41,14 +41,14 @@
4141
master_log_pos: "{{ master.Position }}"
4242
ignore_errors: True
4343
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))
4545
and (mysql_replication_role == 'slave')
4646
and (mysql_replication_master != '')
4747
and mysql_replication_user
4848
4949
- name: Start replication.
5050
mysql_replication: mode=startslave
5151
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))
5353
and (mysql_replication_role == 'slave')
5454
and (mysql_replication_master != '')

0 commit comments

Comments
 (0)