Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
onos
/
7a9b3dc2ea45d1221fba2e622f6fddcc718cd6a4
/
.
/
tools
/
dev
/
vagrant
/
ansible
/
machine-restart.yml
blob: 2b58d6fa9214c233e163ff821ece69263811c4c4 [
file
] [
log
] [
blame
]
---
#
# Restarts the target machine
#
-
name:
Restarting the machine
hosts:
localhost
tasks:
-
shell:
sleep 2
&&
shutdown
-
r now
"Ansible updates triggered"
async:
1
poll:
0
sudo:
true
ignore_errors:
true