NETWAYS / NETWAYS/ansible-collection-elasticstack

Metricbeat configuration task is missing the configuration tags

Open Beginner friendly
#476 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component:metricbeat
Dominant language
Jinja
Stars
14
Forks
11
Avg merge
1d 47m
Merged PRs (30d)
6

Description

The "Configure Metricbeat" task in roles/beats/tasks/metricbeat.yml has no tags, unlike the Filebeat and Auditbeat configuration tasks which carry configuration, beats_configuration and their per-beat tag.

As a result, running the role with --tags configuration (or beats_configuration) re-writes the Filebeat and Auditbeat configuration but silently skips Metricbeat.

Fix: add the tags (configuration, beats_configuration, beats_metricbeat_configuration) to the Metricbeat configuration task for consistency with the other two Beats.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open roles/beats/tasks/metricbeat.yml and compare the "Configure Metricbeat" task with the Filebeat and Auditbeat configuration tasks. Add the three tags named in the issue, then verify that running the role with configuration or beats_configuration selects the Metricbeat task as well.

Written by the indexing model from the issue text.

Assessment

Tech stack
yaml
Domain
devops
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
94/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.