mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 04:52: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
|
||||
shell: /sbin/shutdown -r -t 1
|
||||
become: true
|
||||
- name: Finally rebooting T-Pot
|
||||
command: shutdown -r now
|
||||
async: 1
|
||||
poll: 0
|
||||
|
||||
- name: Next login options
|
||||
debug:
|
||||
|
|
Loading…
Reference in a new issue