diff --git a/shutdown.yaml b/shutdown.yaml new file mode 100644 index 0000000..fcaf92f --- /dev/null +++ b/shutdown.yaml @@ -0,0 +1,9 @@ +--- +# This playbook does a shutdown +- name: Shutdown system + hosts: all + gather_facts: true + + tasks: + - name: Shutdown nas + ansible.builtin.shell: sudo shutdown -h 1 \ No newline at end of file