aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheqnx <root@heqnx.com>2025-06-24 13:12:30 +0300
committerheqnx <root@heqnx.com>2025-06-24 13:12:30 +0300
commitfa81cfa0fe1fb03e2766174b697e4fccea60e4f6 (patch)
tree1db0c39c0c635c58ffb7f75a2cd77f8196fbd013
parent21f31894a309b074fb919ad38605c4e280ef6212 (diff)
downloadansible-pve-host-fa81cfa0fe1fb03e2766174b697e4fccea60e4f6.tar.gz
ansible-pve-host-fa81cfa0fe1fb03e2766174b697e4fccea60e4f6.zip
added post setup reboot
-rw-r--r--main.yaml1
-rw-r--r--tasks/post_setup.yaml7
2 files changed, 8 insertions, 0 deletions
diff --git a/main.yaml b/main.yaml
index 7c7e60f..4790ce9 100644
--- a/main.yaml
+++ b/main.yaml
@@ -9,3 +9,4 @@
- import_tasks: tasks/pve_configure.yaml
- import_tasks: tasks/harden.yaml
- import_tasks: tasks/wg_setup.yaml
+ - import_tasks: tasks/post_setup.yaml
diff --git a/tasks/post_setup.yaml b/tasks/post_setup.yaml
new file mode 100644
index 0000000..9c65d99
--- /dev/null
+++ b/tasks/post_setup.yaml
@@ -0,0 +1,7 @@
+- name: final post-installation reboot
+ reboot:
+ msg: "final post-installation reboot"
+ connect_timeout: 10
+ reboot_timeout: 600
+ pre_reboot_delay: 5
+ post_reboot_delay: 10