Skip to content

Commit be1d65b

Browse files
committed
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.
1 parent fd34fab commit be1d65b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

playbooks/install_stack.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,7 @@
550550
block:
551551
- name: Reboot the node
552552
become: true
553+
become_user: root
553554
ansible.builtin.reboot:
554555
- name: Pause for 2 minutes to let all containers to start and OpenStack to be ready
555556
ansible.builtin.pause:

0 commit comments

Comments
 (0)