2021-06-09 08:39:00 +00:00
|
|
|
---
|
2021-06-10 09:39:42 +00:00
|
|
|
- hosts: 127.0.0.1
|
2021-06-09 08:39:00 +00:00
|
|
|
connection: local
|
2022-11-09 15:43:49 +00:00
|
|
|
gather_facts: true
|
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
|
2022-07-29 08:56:34 +00:00
|
|
|
- workloadcluster
|
2022-07-22 07:38:03 +00:00
|
|
|
- tty
|
2021-06-09 20:49:14 +00:00
|
|
|
- cleanup
|
2022-08-16 13:16:20 +00:00
|
|
|
handlers:
|
|
|
|
- name: Apply manifests
|
|
|
|
kubernetes.core.k8s:
|
|
|
|
src: "{{ item }}"
|
|
|
|
state: present
|
2022-08-17 06:32:35 +00:00
|
|
|
kubeconfig: "{{ kubeconfig.path }}"
|
2022-09-04 12:51:07 +00:00
|
|
|
loop: "{{ query('ansible.builtin.fileglob', '/var/lib/rancher/k3s/server/manifests/*.yaml') | sort }}"
|
2022-08-18 10:54:16 +00:00
|
|
|
ignore_errors: yes
|