NETWAYS / NETWAYS/ansible-collection-elasticstack
Make sysconfig / defaults file configurable
Nobody has claimed this yet.
- Dominant language
- Jinja
- Stars
- 14
- Forks
- 11
- Avg merge
- 1d 47m
- Merged PRs (30d)
- 6
Description
We need to change a line in /etc/sysconfig/elasticsearch or /etc/default/elasticsearch for https://github.com/NETWAYS/ansible-role-elasticsearch/issues/74 . The current impelementation is not very friendly for more upcoming changes.
So either find a way to merge ES_JAVA_OPTS and use several lineinfile or change the current implementation and go for a template. (Might be better but way more work due to possibly version dependent contents of the file)
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
Start by examining how /etc/sysconfig/elasticsearch and /etc/default/elasticsearch are currently managed, then review the requested ES_JAVA_OPTS change from the linked issue. Compare merging ES_JAVA_OPTS with multiple lineinfile tasks against using a template, including version-dependent file contents. Done means the defaults file can support the requested change without making future changes unnecessarily difficult.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ansible, elasticsearch
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100