Skip to content
Snippets Groups Projects
Commit 5696ba6e authored by Simon Michnowicz (Monash University)'s avatar Simon Michnowicz (Monash University)
Browse files

reboot of node occures only if a yum update has occured

Former-commit-id: be1dee48
parent 4653139b
No related branches found
No related tags found
No related merge requests found
......@@ -9,8 +9,10 @@
- kmod-lustre-client
become: true
become_user: root
register: update_done
- name: Unconditionally reboot the machine with all defaults
- name: reboot the machine if an upgrade occured
reboot:
when: update_done.changed
become: true
become_user: root
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment