is there any way to get the list of nodegroups? #68261
Replies: 1 comment · 3 replies
-
there is a way but it is very round about because this is not functionality that is normally useful in salt. nodegroups are considered a targeting method not an information system. that being said .. what you can do is setup a mine_function on all minions for test.ping this will be true on all systems and will be stored on the master. this will allow minions to get the targeting info from any minions that exist. with something like the following.
the you can read more about the salt mine here https://docs.saltproject.io/en/latest/topics/mine/ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
such as ansible
groups['etcd']
expect some jinja:
Beta Was this translation helpful? Give feedback.
All reactions