mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 20:42:11 +00:00
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:
parent
170439d977
commit
68a10a2f1f
1 changed files with 4 additions and 3 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue