diff --git a/ansible/roles/panko/tasks/bootstrap.yml b/ansible/roles/panko/tasks/bootstrap.yml index f626a40590..d0b0ad1b4b 100644 --- a/ansible/roles/panko/tasks/bootstrap.yml +++ b/ansible/roles/panko/tasks/bootstrap.yml @@ -4,7 +4,7 @@ register: mongodb_panko_database run_once: true changed_when: "{{ 'already' not in mongodb_panko_database.stdout }}" - failed_when: "{{ mongodb_panko_database.rc != 0 or mongodb_panko_database.stdout.split()[4] != 'connecting' }}" + failed_when: "{{ mongodb_panko_database.stdout.split()[4] != 'connecting' }}" delegate_to: "{{ groups['mongodb'][0] }}" when: - panko_database_type == "mongodb"