Fire and forget: Move reboot task to background

Execute the reboot command asynchronously, so Ansible doesn't report an error.
This commit is contained in:
Sebastian Haderecker 2019-10-28 11:59:39 +00:00
parent 170439d977
commit 68a10a2f1f

View file

@ -1,6 +1,7 @@
- name: Finally rebooting T-Pot in one minute - name: Finally rebooting T-Pot
shell: /sbin/shutdown -r -t 1 command: shutdown -r now
become: true async: 1
poll: 0
- name: Next login options - name: Next login options
debug: debug: