diff --git a/roles/remove-node/post-remove/tasks/main.yml b/roles/remove-node/post-remove/tasks/main.yml index eb37e8498..e36c21742 100644 --- a/roles/remove-node/post-remove/tasks/main.yml +++ b/roles/remove-node/post-remove/tasks/main.yml @@ -51,4 +51,4 @@ delegate_to: "{{ groups['etcd']|first }}" when: - inventory_hostname in groups['etcd'] - - not etcd_member_id.stdout + - etcd_member_id.stdout | length > 0