Files
k3s-ansible/site.yml
2023-01-29 21:23:31 -06:00

37 lines
588 B
YAML

---
- hosts: proxmox
gather_facts: true
become: yes
remote_user: "{{ proxmox_lxc_ssh_user }}"
roles:
- role: proxmox_lxc
when: proxmox_lxc_configure
- hosts: k3s_cluster
gather_facts: yes
roles:
- role: lxc
when: proxmox_lxc_configure
- role: prereq
become: true
- role: download
become: true
- role: raspberrypi
become: true
- hosts: master
roles:
- role: k3s/master
become: true
- hosts: node
roles:
- role: k3s/node
become: true
- hosts: master
roles:
- role: k3s/post
become: true