Skip to content

Conversation

@lfchris
Copy link
Member

@lfchris lfchris commented Oct 30, 2025

No description provided.

shards: 4
title: 'Linuxfabrik Index Set (managed by Ansible - do not edit)'
writable: true
graylog_server__system_index_sets__dependent_var: []
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

both renaming the variable and changing the default is a (potentially) breaking change - document this clearly in the CHANGELOG.md

Accept: 'application/json'
X-Requested-By: 'cli'
when: "graylog_server__get_index_sets_result | community.general.json_query(\"json.index_sets[?index_prefix==`\" ~ graylog_server__system_default_index_set['index_prefix'] ~ \"`].id\") | length == 0"
loop: '{{ graylog_server__system_index_sets__combined_var }}'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since it is a combined_var the role needs to implement and correctly handle the state key

headers:
X-Requested-By: 'cli'
when: "graylog_server__get_index_sets_result | community.general.json_query(\"json.index_sets[?index_prefix==`\" ~ graylog_server__system_default_index_set['index_prefix'] ~ \"`].id\") | length > 0"
# - name: 'Set default index set'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this commented out? either remove dead code or add a default subkey to the graylog_server__system_index_sets__*_var

graylog_server__system_inputs__dependent_var: []
graylog_server__system_inputs__group_var: []
graylog_server__system_inputs__host_var: []
graylog_server__system_inputs__role_var: []
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why did we remove the default values here? please explain the intended way to use the role in an "Post-Installation Steps" section in the README.md (have a look at the elasticsearch role)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants