From c1a8a3549464fdfc501eda96d353323e4cbbfa10 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Thu, 12 Oct 2023 15:44:39 +0200 Subject: [PATCH] fix: Add missing path to cluster api provider manifests --- .../bootstrap/roles/workloadcluster/tasks/clusterapi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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