Skip to content

Fix reboot task to escalate as root instead of stack - #241

Merged
gryf merged 1 commit into
mainfrom
fix-reboot-task
Sep 16, 2026
Merged

gryf merged 1 commit into
mainfrom
fix-reboot-task

Conversation

@mandre

@mandre mandre commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

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.

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.

@gryf gryf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. We can ignore linting error for now, as redhat-subscription should be optional.

@gryf
gryf merged commit ae1c4bd into main Sep 16, 2026
1 check failed
@gryf
gryf deleted the fix-reboot-task branch September 16, 2026 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants