summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-09-10 16:40:02 +0200
committerAhmed Abdelhalim <[email protected]>2025-09-10 18:16:16 +0200
commita284711817069a572673abd424b43a63cea23b66 (patch)
tree233a7de05c6653692ec53be426551200e86235c5
parentcc664dc7026f449a6355f529d5d61bd0381fc04c (diff)
Add reboot task after successful run
-rw-r--r--site.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/site.yml b/site.yml
index 4306529..e3cc5cc 100644
--- a/site.yml
+++ b/site.yml
@@ -6,3 +6,9 @@
- role: "partition"
- role: "bootstrap"
- role: "configure"
+ tasks:
+ - name: "Reboot"
+ ansible.builtin.command: "reboot"
+ async: 1
+ poll: 0
+ changed_when: true