Packer.Images/ansible/roles/firstboot/files/ansible_payload/upgrade/playbook.yml
Danny Bessems c793ced9f3
All checks were successful
continuous-integration/drone/push Build is passing
Remove redundant tasks;Add readycheck;Housekeeping;Add further upgrade tasks
2023-01-30 16:24:37 +01:00

27 lines
568 B
YAML

---
- hosts: 127.0.0.1
connection: local
gather_facts: true
vars_files:
- defaults.yml
- metacluster.yml
# become: true
roles:
- vapp
- network
- preflight
- users
- disks
- metacluster
- workloadcluster
- tty
- cleanup
handlers:
- name: Apply manifests
kubernetes.core.k8s:
src: "{{ item }}"
state: present
kubeconfig: "{{ kubeconfig.path }}"
loop: "{{ query('ansible.builtin.fileglob', '/var/lib/rancher/k3s/server/manifests/*.yaml') | sort }}"
ignore_errors: yes