diff --git a/test/integration/targets/mongodb_replicaset/tasks/main.yml b/test/integration/targets/mongodb_replicaset/tasks/main.yml index d416bfc84e..2e45a2855e 100644 --- a/test/integration/targets/mongodb_replicaset/tasks/main.yml +++ b/test/integration/targets/mongodb_replicaset/tasks/main.yml @@ -89,7 +89,7 @@ wait_for: path: "/proc/{{ item }}/status" state: absent - with_items: "{{ pids_of_mongod }}" + with_items: "{{ pids_of_mongod.pids }}" - set_fact: current_replicaset: "{{ mongodb_replicaset1 }}" diff --git a/test/integration/targets/mongodb_replicaset/tasks/mongod_replicaset.yml b/test/integration/targets/mongodb_replicaset/tasks/mongod_replicaset.yml index 9ad3bb1496..f33d93f4ac 100644 --- a/test/integration/targets/mongodb_replicaset/tasks/mongod_replicaset.yml +++ b/test/integration/targets/mongodb_replicaset/tasks/mongod_replicaset.yml @@ -36,7 +36,6 @@ chdir: "{{ remote_tmp_dir }}" with_items: "{{ mongodb_nodes | sort }}" when: mongod_auth == True - ignore_errors: yes - name: Wait for mongod to start responding wait_for: