diff --git a/tests/integration/targets/k8s_copy/tasks/main.yml b/tests/integration/targets/k8s_copy/tasks/main.yml index df67eb37..bee8e7b5 100644 --- a/tests/integration/targets/k8s_copy/tasks/main.yml +++ b/tests/integration/targets/k8s_copy/tasks/main.yml @@ -33,7 +33,7 @@ init_pod_status.resources|length > 0 and 'initContainerStatuses' in init_pod_status.resources.0.status and init_pod_status.resources.0.status.initContainerStatuses|length > 0 - and init_pod_status.resources.0.status.initContainerStatuses.0.started|bool + and init_pod_status.resources.0.status.initContainerStatuses.0.started|default(false)|bool - include_tasks: test_copy_errors.yml - include_tasks: test_check_mode.yml