diff --git a/playbooks/node-poweroff.yaml b/playbooks/node-poweroff.yaml new file mode 100644 index 0000000..b3073b6 --- /dev/null +++ b/playbooks/node-poweroff.yaml @@ -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: