Skip to content
This repository has been archived by the owner on Jul 9, 2020. It is now read-only.

Commit

Permalink
Ansible shutdown with 1m delay so callback can return (#493)
Browse files Browse the repository at this point in the history
Delaying the shutdown 1 minute so the Ansible job can return and the job
invocation can be green. Otherwise 'shutdown' may work but the job
invocation will fail.
  • Loading branch information
dLobatog authored and ares committed Jul 19, 2018
1 parent 662cb89 commit 5086b86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion job_templates/power_action_-_ansible_default.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ model: JobTemplate
when 'restart'
'shutdown -r +1'
else
'shutdown -h now'
'shutdown -h +1'
end %>

0 comments on commit 5086b86

Please sign in to comment.