Merge branch 'master' of https://github.com/juanshotyou/ansible
This commit is contained in:
commit
a1a0a6309c
@ -9,6 +9,6 @@
|
||||
tasks:
|
||||
|
||||
- name: Rebooting...
|
||||
reboot:
|
||||
ansible.builtin.reboot:
|
||||
msg: "Reboot initiated by Ansible"
|
||||
test_command: uptime
|
||||
|
||||
13
home_linux/shutdown.yml
Normal file
13
home_linux/shutdown.yml
Normal file
@ -0,0 +1,13 @@
|
||||
---
|
||||
- name: Shutdown the Raspberries
|
||||
hosts: all
|
||||
gather_facts: no
|
||||
roles:
|
||||
- common
|
||||
become: yes
|
||||
|
||||
tasks:
|
||||
|
||||
- name: Shutting down...
|
||||
community.general.shutdown:
|
||||
msg: "Shutdown initiated by Ansible"
|
||||
Loading…
Reference in New Issue
Block a user