You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 28, 2024. It is now read-only.
I'm trying to configure the shell for my user with the user module
- name: Set as default shell
user: name={{ ansible_user_id }} shell=/bin/zsh
When doing this it treats ansible_user_id as root. I want to set the shell for my current user, not root. I have tried specifically saying sudo=no and no luck.
This also straight up fails when doing it from a role.
The text was updated successfully, but these errors were encountered:
I'm trying to configure the shell for my user with the user module
When doing this it treats ansible_user_id as root. I want to set the shell for my current user, not root. I have tried specifically saying sudo=no and no luck.
This also straight up fails when doing it from a role.
The text was updated successfully, but these errors were encountered: