diff --git a/ansible/roles/panko/tasks/bootstrap.yml b/ansible/roles/panko/tasks/bootstrap.yml
index f626a405903ee728559bbb8022432587b5998c7a..d0b0ad1b4bda828f6221d303f30c61cff8047368 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"