Skip to content

hostname dependend module#4907

Open
jaypikay wants to merge 4 commits intoAlexays:masterfrom
jaypikay:master
Open

hostname dependend module#4907
jaypikay wants to merge 4 commits intoAlexays:masterfrom
jaypikay:master

Conversation

@jaypikay
Copy link

@jaypikay jaypikay commented Mar 5, 2026

As I was missing the feature to enable modules depending on the system, I gave it a try by adding a hostname filter to the configuration.

When adding hosts: ["foo", "bar"] the module is only displayed on the hosts "foo" and "bar" and not on "baz". If no hosts is set the modules are added always added to the bar.

If a group is configured to show up on "foo" and "bar" but a module within the group should only show up on "foo" adding hosts: ["foo"] will filter the module to not show up on "bar".

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.

1 participant