Update Fedora

This commit is contained in:
Greg Hellings
2023-08-11 20:15:50 -05:00
parent 1496b3a8bb
commit 87c3e60c58
9 changed files with 572 additions and 8 deletions
+14 -4
View File
@@ -25,10 +25,20 @@
retries: 3
until: _update_atomic is success
- name: Restart the machine
become: true
ansible.builtin.reboot:
when: (_update_atomic is changed) or (_update_all is changed)
- name: Reboot, but don't care if it doesn't
block:
- name: Restart the machine
become: true
ansible.builtin.reboot:
when: (_update_atomic is changed) or (_update_all is changed)
- name: Wait for reboot to finish
ansible.builtin.wait_for_connection:
delay: 15
rescue:
- name: Reboot failed? lol
ansible.builtin.debug:
msg: Reboot failed. lol.
roles:
- role: devroles.system.epel
- role: virtualbox