refactor: comment out reboot task in yum_updates.yaml
This commit is contained in:
+4
-4
@@ -21,7 +21,7 @@
|
|||||||
path: /var/run/needs-restarting
|
path: /var/run/needs-restarting
|
||||||
register: reboot_required_file
|
register: reboot_required_file
|
||||||
|
|
||||||
- name: Reboot if required
|
# - name: Reboot if required
|
||||||
ansible.builtin.reboot:
|
# ansible.builtin.reboot:
|
||||||
reboot_timeout: 120 # Adjust timeout as needed
|
# reboot_timeout: 120 # Adjust timeout as needed
|
||||||
when: reboot_required_file.stat.exists
|
# when: reboot_required_file.stat.exists
|
||||||
Reference in New Issue
Block a user