mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 04:52:11 +00:00
Moved reboot role to task in playbook
This commit is contained in:
parent
c05b602497
commit
949a8854c6
2 changed files with 4 additions and 13 deletions
|
@ -5,7 +5,8 @@
|
|||
become: yes
|
||||
become_user: root
|
||||
become_method: sudo
|
||||
gather_facts: no
|
||||
|
||||
roles:
|
||||
- reboot
|
||||
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
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
- name: Waiting for SSH connection
|
||||
wait_for_connection:
|
||||
timeout: 300
|
||||
|
||||
- name: Gathering Facts
|
||||
setup:
|
||||
|
||||
- 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
|
Loading…
Reference in a new issue