tpotce/cloud/ansible/openstack/roles/reboot/tasks/main.yaml
Sebastian Haderecker 68a10a2f1f Fire and forget: Move reboot task to background
Execute the reboot command asynchronously, so Ansible doesn't report an error.
2019-10-28 11:59:39 +00:00

16 lines
393 B
YAML

- name: Finally rebooting T-Pot
command: shutdown -r now
async: 1
poll: 0
- name: Next login options
debug:
msg:
- "***** SSH Access:"
- "***** ssh {{ ansible_user }}@{{ ansible_host }} -p 64295"
- ""
- "***** Web UI:"
- "***** https://{{ ansible_host }}:64297"
- ""
- "***** Admin UI:"
- "***** https://{{ ansible_host }}:64294"