Add documentation and files related to initial host setup
[csit.git] / resources / tools / testbed-setup / playbooks / reboot.yaml
1 - hosts: all
2   remote_user: testuser
3   tasks:
4   - name: Reboot host
5     sudo: true
6     command: shutdown -r now "Ansible updates triggered"
7     async: 0
8     poll: 0
9     ignore_errors: true
10   - name: waiting for server to come back
11     local_action: wait_for host={{ inventory_hostname }}
12                   state=started
13     sudo: false
14

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.