Skip to content

Commit edc9e7f

Browse files
igorribeiroduartevladzcloudius
authored andcommitted
replace_node.yml: Don't skip scylla-manager repair if disable_rbno is true
1 parent b7315d0 commit edc9e7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example-playbooks/replace_node/replace_node.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@
306306
tasks:
307307
- name: Skip this play if RBNO was used for the replacement or if skip_repair is true
308308
meta: end_play
309-
when: skip_repair|bool or (hostvars[new_node]['_enable_rbno_grep'].failed == false and hostvars[new_node]['_rbno_enabled'] and hostvars[new_node]['_rbno_allowed_for_replace'])
309+
when: skip_repair|bool or (disable_rbno|bool == false and hostvars[new_node]['_enable_rbno_grep'].failed == false and hostvars[new_node]['_rbno_enabled'] and hostvars[new_node]['_rbno_allowed_for_replace'])
310310

311311
- name: Get cluster id
312312
shell: |

0 commit comments

Comments
 (0)