mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04: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:
@ -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:
|
||||||
|
Reference in New Issue
Block a user