skylab
/
skylab-ansible
Archived
2
0
Fork 0

Add playbook for fully shutting down a host

This commit is contained in:
Ethan Paul 2021-10-28 00:35:31 -04:00
parent 7ea4d070ee
commit 9e0c0505b3
No known key found for this signature in database
GPG Key ID: 6A337337DF6B5B1A
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
---
- ansible.builtin.import_playbook: node-down.yaml
- name: Shutdown node
hosts: "{{ node }}"
tasks:
- name: Shutdown node
become: true
community.general.shutdown: