8000 Suggestion to allow disable create/update the default user/group running minio and, if is created by this role, set `create_home: no` · Issue #43 · atosatto/ansible-minio · GitHub
[go: up one dir, main page]

Skip to content

Suggestion to allow disable create/update the default user/group running minio and, if is created by this role, set create_home: no #43

Closed

Description

@fititnt

- name: Create Minio user
user:
name: "{{ minio_user }}"
group: "{{ minio_group }}"
system: "yes"
shell: "/usr/sbin/nologin"

The PR #41 by @drakmail did not explicitly removed the default ansible behavior of not create the home.

Suggestion to add by default create_home: no

On this case, I agree with @SuperQ to not create home if the user is created by atosatto.ansible-minio. The way to implement this would be add an extra line create_home: no.

Suggestion to allow not manange user/group running minio

The problem with this is that, different from the option to not allow this role create the data dirs with minio_server_make_datadirs: true there is no option to disable management of the user/group. So even if a user define another user/group to run minio, this role may in fact revert options of user created by other roles or tasks.

Activity

  1. atosatto commented on Jan 22, 2020

    @atosatto
    Owner

    Hi @fititnt, this sounds like a good idea indeed.
    Any chance for you to contribute this in a PR? I will review it and merge it as soon as possible.

  2. fititnt commented on Jan 23, 2020

    @fititnt
    Author

    @atosatto Sounds like a plan.

    It's an easy addition, but I will do some basic tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0