Packer.Images/ansible/roles/firstboot/files/ansible_payload/playbook.yml
Danny Bessems fdc5c44e6a
All checks were successful
continuous-integration/drone/push Build is passing
Remove handler from non-firstboot steps;Fix kubeconfig order/logic
2022-08-17 08:32:35 +02:00

24 lines
466 B
YAML

---
- hosts: 127.0.0.1
connection: local
gather_facts: false
vars_files:
- metacluster.yml
# become: true
roles:
- vapp
- network
- users
- disks
- metacluster
- workloadcluster
- tty
- cleanup
handlers:
- name: Apply manifests
kubernetes.core.k8s:
src: "{{ item }}"
state: present
kubeconfig: "{{ kubeconfig.path }}"
with_fileglob: /var/lib/rancher/k3s/server/manifests/*.yaml