diff --git a/ansible/roles/firstboot/files/ansible_payload/bootstrap/roles/workloadcluster/tasks/clusterapi.yml b/ansible/roles/firstboot/files/ansible_payload/bootstrap/roles/workloadcluster/tasks/clusterapi.yml index b4a885d..ce4705c 100644 --- a/ansible/roles/firstboot/files/ansible_payload/bootstrap/roles/workloadcluster/tasks/clusterapi.yml +++ b/ansible/roles/firstboot/files/ansible_payload/bootstrap/roles/workloadcluster/tasks/clusterapi.yml @@ -115,7 +115,7 @@ - name: Split cluster API provider manifests into separate files ansible.builtin.shell: cmd: >- - awk 'BEGINFILE {print "---"}{print}' provider-*.yaml | \ + awk 'BEGINFILE {print "---"}{print}' {{ capi_clustermanifest.path }}/provider-*.yaml | kubectl slice \ -o {{ capi_clustermanifest.path }}/providers