While using community.kubernetes.k8s
module, I am seeing that wait: yes
is cause the resource creation to fail in case of definition is a multi document yaml. Is there a way to wait for multi document k8s operations to complete ?
e.g.
- name: k8s apply crds
k8s:
state: present
definition: "{{ item.manifest | from_yaml_all | list }}"
wait: yes
loop:
- name: serving-core.yaml
manifest: "{{ lookup('file',knative_manifests_dir + '/serving-core.yaml')}}"
loop_control:
label: "{{item.name}}"