From be1d65b99a3ebb11536e45f8c076eabb795de1e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Andr=C3=A9?= Date: Tue, 23 Jun 2026 08:37:18 +0200 Subject: [PATCH] Fix reboot task to escalate as root instead of stack The reboot task had become: true but inherited become_user: stack from the play level, causing 'Interactive authentication required' from polkit/systemd. Add become_user: root to match the pattern used by all other root-privileged tasks in the playbook. --- playbooks/install_stack.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/playbooks/install_stack.yaml b/playbooks/install_stack.yaml index b17c26c..51bdef7 100644 --- a/playbooks/install_stack.yaml +++ b/playbooks/install_stack.yaml @@ -550,6 +550,7 @@ block: - name: Reboot the node become: true + become_user: root ansible.builtin.reboot: - name: Pause for 2 minutes to let all containers to start and OpenStack to be ready ansible.builtin.pause: