37 lines
588 B
YAML
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
|