Code Review
/
csit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
CSIT-1070 Update Ansible structure
[csit.git]
/
resources
/
tools
/
testbed-setup
/
ansible
/
roles
/
common
/
handlers
/
reboot.yaml
1
---
2
# file roles/common/handlers/reboot.yaml
3
4
- name: Reboot host
5
command: shutdown -r now "Ansible updates triggered"
6
async: 0
7
poll: 0
8
ignore_errors: true
9
tags: reboot-host
10
11
- name: Waiting for server to come back
12
local_action: wait_for host={{ inventory_hostname }}
13
state=started
14
tags: reboot-host