-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alloy role - Add user to additional groups #199
Comments
You should be able to pass a custom |
Hi @ishanjainn and thank you for the quick response. According to the ansible documentation, that would only set the primary group. -> ansible.builtin.user When we want to add the user to additional groups, we would have to use the Currently, this parameter is not set: - name: Create alloy user
ansible.builtin.user:
name: "{{ service_user }}"
group: "{{ service_group }}"
system: true
create_home: false # Appropriate for a system user, usually doesn't need a home directory
become: true |
Gotcha, Yeah multiple groups might not be supported natively in the role, Ill have to check on what could be done |
I'm having issues also with this. No matter what I place on |
@cardasac at the current state of the repository, this is the intended functionality. There is no variable "alloy_user_groups" that could be picked up or assigned. |
Some logs on linux machines are not readable by anyone. They are either owned by root or another group. For example, on debian based systems, they are owned by the 'adm' group.
It would be great, if we were able to assign the alloy user to those groups using the 'alloy' role of this collection.
I am looking forward to your responses to that topic. Thank you very much!
The text was updated successfully, but these errors were encountered: