mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-21 23:40:19 +00:00
Replace deprecated get_md5 witch get_checksum
The get_md5 for stat is unsupported and get_md5=no doesn't work with ansible 9.3.0.
This commit is contained in:
parent
86447d24f0
commit
e6251a6cc5
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
- name: Check if a reboot is needed on all servers
|
||||
register: reboot_required_file
|
||||
stat: path=/var/run/reboot-required get_md5=no
|
||||
stat: path=/var/run/reboot-required get_checksum=false
|
||||
|
||||
- name: Reboot the box if kernel updated
|
||||
reboot:
|
||||
|
|
Loading…
Reference in a new issue