From a284711817069a572673abd424b43a63cea23b66 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Wed, 10 Sep 2025 16:40:02 +0200 Subject: Add reboot task after successful run --- site.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'site.yml') 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 -- cgit v1.2.3