4.3. Subnet/IP Address MatchingΒΆ

Minions can easily be matched based on IP address, or by subnet (using CIDR notation).

salt -S 192.168.40.20 test.ping
salt -S 10.0.0.0/24 test.ping

Note

Only IPv4 matching is supported at this time.

Docs for previous releases are available on readthedocs.org.

Latest Salt release: 2014.7.2

Previous topic

4.2. Grains

Next topic

4.4. Compound matchers