Forrest logo
back to the salt-call tool

salt-call:ai:f6183

Get all salt grains on the current machine
$ salt-call grains.items --output=json
try on your machine

Get all salt grains on the current machine

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • how do i get all salt grains on my current machine ? and how do I get the IP address of the machine using salt grains ? ?
back to the salt-call tool