NETWAYS / ansible-collection-elasticstack

A collection to install and manage the Elastic Stack
GNU General Public License v3.0
9 stars 8 forks source link

replace user and role creation with corresponding modules #323

Closed christoph2497 closed 4 weeks ago

christoph2497 commented 1 month ago

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.

tbauriedel commented 1 month ago

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.

tbauriedel commented 1 month ago

Another review is needed because I have added some changes... Ping @widhalmt

tbauriedel commented 4 weeks ago

Pipelines failing to bug #326

tbauriedel commented 4 weeks ago

(Ansible verbosity 3 needs to be removed before merging)