hey there. there is a nifty runner that can be used for this.
https://docs.saltproject.io/en/latest/ref/runners/all/salt.runners.survey.html
here is an example output
root@salt00:~# salt-run survey.hash \* grains.get pythonversion
|_
----------
pool:
- dbz.novalocal
- devbox.novalocal
- ipa.wolfnet.bad4.us
- media.wolfnet.bad4.us
- zabbix.novalocal
result:
[3, 6, 8, 'final', 0]
|_
----------
pool:
- amity
result:
[3, 8, 13, 'final', 0]
|_
----------
pool:
- home.wolfnet.bad4.us
result:
[3, 9, 2, 'final', 0]
|_
----------
pool:
- salt00
result:
[3, 10, 4, 'final', 0]
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/salt-users/014120d7-4790-443b-8af3-a83f21c4bec1n%40googlegroups.com.