NETWAYS / NETWAYS/ansible-collection-elasticstack
[Feature]: Logstash — replace logstash_security with logstash_tls + logstash_authentication
Nobody has claimed this yet.
- Dominant language
- Jinja
- Stars
- 14
- Forks
- 11
- Avg merge
- 1d 47m
- Merged PRs (30d)
- 6
Description
logstash_security bundles TLS, the ES-output user/password, certificate creation and ES role/user creation into one flag.
- Remove
logstash_security. Introduce:logstash_tls(default fromelasticstack_tls) → keystore / cacert /ssl => truein the ES output.logstash_authentication(default fromelasticstack_authentication) →user/passwordin the ES output.
- Drop the
logstash_securityset_factintasks/main.yml. - Split
logstash-security.yml→logstash_manage_certificates.yml+logstash_manage_users.yml. - Rebuild the ES-output block (
elasticsearch-output.conf.j2:34-41) into three independent conditions: TLS ←logstash_tls, auth ←logstash_authentication, host resolution ← the residual full_stack / standalone (user-provided CA).
Breaking → 2.0.0. Part of #526.
Depends on: #527 (the shared masters + guard must exist first).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
First review the shared masters and guard from #527, then inspect tasks/main.yml, logstash-security.yml, logstash_manage_certificates.yml, logstash_manage_users.yml, and elasticsearch-output.conf.j2. Done means logstash_security and its set_fact are removed, TLS, authentication, and host resolution use independent conditions, and the certificate and user management responsibilities are split for the 2.0.0 breaking change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elasticsearch
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100