From 67264db5bca37a841d5d9beffc008277c873e8a0 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Sun, 9 Nov 2025 00:01:43 +0100 Subject: Fix reboot not to wait for prompt and ubuntuiso domain --- site.yml | 2 +- ubuntu.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/site.yml b/site.yml index e3cc5cc..51f5dbd 100644 --- a/site.yml +++ b/site.yml @@ -8,7 +8,7 @@ - role: "configure" tasks: - name: "Reboot" - ansible.builtin.command: "reboot" + ansible.builtin.command: "reboot -f" async: 1 poll: 0 changed_when: true diff --git a/ubuntu.md b/ubuntu.md index 155900d..7782e5f 100644 --- a/ubuntu.md +++ b/ubuntu.md @@ -18,7 +18,7 @@ ```bash passwd nmcli dev wifi connect password -sudo hostnamectl set-hostname ubuntuiso.local +sudo hostnamectl set-hostname ubuntuiso sudo apt update sudo DEBIAN_FRONTEND=noninteractive apt install -y openssh-server sudo systemctl restart ssh avahi-daemon -- cgit v1.2.3