mirror of
https://github.com/khuedoan/homelab.git
synced 2025-02-06 09:08:26 +07:00
16 lines
322 B
YAML
16 lines
322 B
YAML
- name: Start PXE server on the controller
|
|
hosts: controller
|
|
roles:
|
|
- { role: pxe-server, tag: pxe-server }
|
|
|
|
- name: Wake all nodes up
|
|
hosts: homelab
|
|
gather_facts: no
|
|
roles:
|
|
- { role: wake, tag: wake }
|
|
|
|
# - name: Shutdown all nodes
|
|
# hosts: homelab
|
|
# roles:
|
|
# - { role: shutdown, tag: shutdown }
|