You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
394 B
15 lines
394 B
1 year ago
|
---
|
||
|
- name: Upgrade packages
|
||
|
ansible.builtin.dnf:
|
||
|
name: '*'
|
||
|
state: latest
|
||
|
register: system_upgrade
|
||
|
|
||
|
- name: Reboot host
|
||
|
ansible.builtin.reboot:
|
||
|
connect_timeout: "{{ reboot_connect_timeout }}"
|
||
|
pre_reboot_delay: "{{ reboot_pre_reboot_delay }}"
|
||
|
post_reboot_delay: "{{ reboot_post_reboot_delay }}"
|
||
|
reboot_timeout: "{{ reboot_timeout }}"
|
||
|
when: system_upgrade.changed
|