mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-08 14:33:52 +07:00
5bd503dbce
Because we switched to Ubuntu and Ubuntu has snap installed by default
23 lines
321 B
YAML
23 lines
321 B
YAML
- name: Start PXE server on the controller
|
|
hosts: controller
|
|
roles:
|
|
- pxe
|
|
|
|
- name: Shutdown all nodes
|
|
hosts: metal
|
|
roles:
|
|
- shutdown
|
|
ignore_unreachable: yes
|
|
|
|
- name: Wake all nodes up
|
|
hosts: metal
|
|
gather_facts: no
|
|
roles:
|
|
- wake
|
|
|
|
- name: Provision
|
|
hosts: metal
|
|
roles:
|
|
- tools
|
|
- lxd
|