diff --git a/ansible/playbooks/bootstrap.yaml b/ansible/playbooks/bootstrap.yaml index 22d30fd3f9ad6ccf101a07f33629467631fca64b..bb7a101ceeb86d41599344933029a54c72c96e44 100644 --- a/ansible/playbooks/bootstrap.yaml +++ b/ansible/playbooks/bootstrap.yaml @@ -76,9 +76,10 @@ - name: Deploy bootstrap kustomizations # Sleep after applying, so that any CRD has time to settle down (the CRD registration # controller is on a fixed timer) - ansible.builtin.shell: "kubectl apply -k /tmp/hepto/{{ item.path }}; sleep 30" - with_community.general.filetree: "{{ playbook_dir }}/../../kustomizations" - when: item.state == 'directory' + ansible.builtin.shell: "kubectl apply -k /tmp/hepto/{{ item }}; sleep 30" + loop: + - calico + - bootstrap environment: KUBECONFIG: "{{ kubeconfig }}"