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:
|
2023-01-05 12:48:47 +00:00
|
|
|
- defaults.yml
|
2022-07-10 11:47:53 +00:00
|
|
|
- metacluster.yml
|
2021-06-09 08:39:00 +00:00
|
|
|
# become: true
|
|
|
|
roles:
|
|
|
|
- vapp
|
|
|
|
- network
|
2023-01-04 12:22:35 +00:00
|
|
|
- preflight
|
2021-06-10 13:07:48 +00:00
|
|
|
- users
|
2022-06-28 14:37:54 +00:00
|
|
|
- disks
|
2023-01-20 12:23:34 +00:00
|
|
|
- metacluster
|
2023-01-30 15:24:37 +00:00
|
|
|
- workloadcluster
|
2023-02-03 12:11:54 +00:00
|
|
|
- decommission
|
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
|