Skip to content
Snippets Groups Projects
Commit be1dee48 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

parent 44d017d4
No related branches found
No related tags found
1 merge request!270reboot of node occurs only if a yum update has occured
......@@ -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