ansible-role-for-splunk icon indicating copy to clipboard operation
ansible-role-for-splunk copied to clipboard

No User/Group creation during Installation for non root User

Open gseyerl opened this issue 2 years ago • 2 comments

Hi, thanks for the effort you put in those ansibel roles.

We are using an Identity Management System with centralized splunk user/group creation.

Therefore, it would be great for us to have a boolean variable (e.g. splunk_configure_nix) to turn off local user/group creation for non root users. The configure_facl.yml and configure_bash.yml roles would still be applyable in our usecase.

Best regards G

gseyerl avatar Nov 08 '22 09:11 gseyerl

@gseyerl I would rather have ansible check if the user exists in the directory service, and based on that decide whether to create a local user or not. The getent module should be able to provide that information, have you tried using that to see if it'll work?

dtwersky avatar Nov 10 '22 00:11 dtwersky

I think this might have been fixed by https://github.com/splunk/ansible-role-for-splunk/pull/143

arcsector avatar Nov 30 '22 07:11 arcsector