Commit ad80f9ce authored by Oyvind.Gjesdal's avatar Oyvind.Gjesdal
Browse files

now fails on needs restarting centos8

parent 8a21dfc3
Pipeline #35385 passed with stage
in 2 minutes and 33 seconds
......@@ -20,7 +20,7 @@
minute: "{{ rebootOnChange_minute }}"
hour: "{{ rebootOnChange_hour }}"
user: "root"
job: '/usr/bin/sh -c "yum update -y && /usr/bin/needs-restarting -r now || /usr/sbin/shutdown -r" > /dev/null'
job: '/usr/bin/sh -c "yum update -y && /usr/bin/needs-restarting -r || /usr/sbin/shutdown -r" > /dev/null'
become: true
when: "nrec_instance | bool"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment