mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-21 15:30:19 +00:00
Merge pull request #72 from arcao/patch-1
Replace deprecated get_md5 witch get_checksum
This commit is contained in:
commit
2f5ddd6822
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
- name: Check if a reboot is needed on all servers
|
- name: Check if a reboot is needed on all servers
|
||||||
register: reboot_required_file
|
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
|
- name: Reboot the box if kernel updated
|
||||||
reboot:
|
reboot:
|
||||||
|
@ -20,4 +20,4 @@
|
||||||
pre_reboot_delay: 0
|
pre_reboot_delay: 0
|
||||||
post_reboot_delay: 30
|
post_reboot_delay: 30
|
||||||
test_command: uptime
|
test_command: uptime
|
||||||
when: reboot_required_file.stat.exists
|
when: reboot_required_file.stat.exists
|
||||||
|
|
Loading…
Reference in a new issue