Add a few things; nfs_lazy_reboot2.yml/nfs_lazy_reboot3.yml are valid; v2 is best POC

This commit is contained in:
2025-07-30 16:49:16 -04:00
parent 6bcacd8a97
commit 35476c9b25
11 changed files with 405 additions and 26 deletions

22
timeout_test1.yml Normal file
View File

@ -0,0 +1,22 @@
---
- name: Demonstrate module timeout
hosts: localhost
connection: local
gather_facts: false
tasks:
- name: Check if network share is hung and reboot
block:
- name: Check mounts
ansible.builtin.command: sleep 30
timeout: 10
rescue:
- name: Lazily unmount the file system
ansible.builtin.debug:
msg: unmount stuff goes here
always:
- name: Reboot the host
ansible.builtin.debug:
msg: include_role verified_reboot