How to target only online salt minions ?
I know I can run:
and get the status of online and offline,
but wondering if i can target only the online with 1 command, and what happens when I target all and some are offline at that time, will the command run when he becomes online ? will it Cache the command and for how long ?
Salt only affects online minions. There are no cached actions.