W3cubDocs

/SaltStack

salt.roster.range module

This roster resolves targets from a range server.

depends: seco.range, https://github.com/ytoolshed/range

When you want to use a range query for target matching, use --roster range. For example:

salt-ssh --roster range '%%%example.range.cluster' test.ping

salt.roster.range.target_glob(tgt, hosts)

salt.roster.range.target_range(tgt, hosts)

salt.roster.range.targets(tgt, tgt_type='range', **kwargs)

Return the targets from a range query

© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/roster/all/salt.roster.range.html