Packer.Images/ansible/roles/firstboot/files/ansible_payload/playbook.yml

25 lines
491 B
YAML
Raw Normal View History

2021-06-09 08:39:00 +00:00
---
- hosts: 127.0.0.1
2021-06-09 08:39:00 +00:00
connection: local
gather_facts: false
2022-07-10 11:47:53 +00:00
vars_files:
- metacluster.yml
2021-06-09 08:39:00 +00:00
# become: true
roles:
- vapp
- network
2021-06-10 13:07:48 +00:00
- users
2022-06-28 14:37:54 +00:00
- disks
2022-06-26 16:32:05 +00:00
- metacluster
- workloadcluster
2022-07-22 07:38:03 +00:00
- 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
ignore_errors: yes