khuedoan-homelab/metal/playbook.yml
Khue Doan 5bd503dbce Remove role to install snap
Because we switched to Ubuntu and Ubuntu has snap installed by default
2021-02-21 21:03:32 +07:00

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