Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
uib-ub
Drift
roller-ansible
centos8
Commits
5391019f
Commit
5391019f
authored
Oct 29, 2020
by
Oyvind.Gjesdal
Browse files
Revert "single pipe for cron job"
This reverts commit
336cde56
.
parent
336cde56
Pipeline
#42764
passed with stage
in 2 minutes and 21 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
tasks/main.yml
View file @
5391019f
...
...
@@ -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
|
/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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment