Simplify playbook roles
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-11-24 10:59:41 +01:00
parent 2d99511360
commit c27712bc20
14 changed files with 56 additions and 81 deletions

View File

@ -1,7 +1,7 @@
- name: Configure clusterctl
ansible.builtin.template:
src: clusterctl.j2
dest: /opt/metacluster/manifests/clusterctl.yaml
dest: /opt/metacluster/cluster-api/clusterctl.yaml
vars:
_template:
version:
@ -27,4 +27,4 @@
- name: Initialize Cluster API management cluster
ansible.builtin.shell:
cmd: clusterctl init -v5 -i vsphere:{{ components.clusterapi.management.version.infrastructure_vsphere }} --config ./clusterctl.yaml --kubeconfig {{ kubeconfig.path }}
chdir: /opt/metacluster/manifests
chdir: /opt/metacluster/cluster-api