mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-29 19:58:52 +00:00
12 lines
314 B
YAML
12 lines
314 B
YAML
# This playbook reboots a T-Pot
|
|
|
|
- hosts: TPOT
|
|
remote_user: linux
|
|
become: yes
|
|
become_user: root
|
|
become_method: sudo
|
|
|
|
tasks:
|
|
- name: Finally rebooting t-pot in one minute - make sure your next login is on port 64295 or via https:// on port 64297
|
|
shell: /sbin/shutdown -r -t 1
|
|
become: true
|