initial commit

This commit is contained in:
allard
2025-11-23 18:58:51 +01:00
commit 376a944abc
1553 changed files with 314731 additions and 0 deletions

15
ansible/playbooks/reboot.yml Executable file
View File

@@ -0,0 +1,15 @@
---
- name: Playbook for rebooting the RPis
hosts: picluster
gather_facts: no
tasks:
- name: 'Reboot RPi'
shell: shutdown -r now
async: 0
poll: 0
ignore_errors: true
become: true
- name: "Wait for reboot to complete"
local_action: wait_for host={{ ansible_host }} port=22 state=started delay=10
become: false