--- - name: Prepare Proxmox cluster hosts: proxmox gather_facts: true become: true environment: "{{ proxy_env | default({}) }}" roles: - role: proxmox_lxc when: proxmox_lxc_configure - name: Prepare k3s nodes hosts: k3s_cluster gather_facts: true environment: "{{ proxy_env | default({}) }}" roles: - role: lxc become: true when: proxmox_lxc_configure - role: prereq become: true - role: download become: true - role: raspberrypi become: true - role: k3s_custom_registries become: true when: custom_registries - name: Setup k3s servers hosts: master environment: "{{ proxy_env | default({}) }}" roles: - role: k3s_server become: true - name: Setup k3s agents hosts: node environment: "{{ proxy_env | default({}) }}" roles: - role: k3s_agent become: true - name: Configure k3s cluster hosts: master environment: "{{ proxy_env | default({}) }}" roles: - role: k3s_server_post become: true