-
Notifications
You must be signed in to change notification settings - Fork 10
replace user and role creation with corresponding modules #323
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
replace user and role creation with corresponding modules #323
Conversation
… new variables to docs
Since we want to use these modules and the need the python3 module "elasticsearch", we should consider to install the module as part of the role. The templates for the role and user can be deleted I guess. They are not used anymore. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Another review is needed because I have added some changes... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found a view things that might need to be changed.
Please make sure installing the packagaes really works on all operating systems. And maybe move the installation to the elasticstack
role so we don't have to run the same code every time we need to handle users.
Co-authored-by: Thomas Widhalm <widhalmt@widhalm.or.at>
Co-authored-by: Thomas Widhalm <widhalmt@widhalm.or.at>
Pipelines failing to bug #326 |
(Ansible verbosity 3 needs to be removed before merging) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. No objections from my side.
I replaced the old functionality of creating users and roles of logstash with the corresponding modules. Also i added a few new variables to default/main.yml which are used to make the user and role creation more variable. The documenation was also adjusted accordingly. Cause the modules don't support the use of password hashes atm all variables corresponding to password hashes in logstash have been removed. --------- Co-authored-by: Tobias Bauriedel <tobias.bauriedel@netways.de> Co-authored-by: Thomas Widhalm <thomas.widhalm@netways.de> Co-authored-by: Tobias Bauriedel <tobias@bauriedel.de> Co-authored-by: Thomas Widhalm <widhalmt@widhalm.or.at>
I replaced the old functionality of creating users and roles of logstash with the corresponding modules. Also i added a few new variables to default/main.yml which are used to make the user and role creation more variable. The documenation was also adjusted accordingly. Cause the modules don't support the use of password hashes atm all variables corresponding to password hashes in logstash have been removed.