salt.roster.scan
Scan a netmask or ipaddr for open ssh ports
- class
salt.roster.scan.
RosterMatcher
(tgt, tgt_type) -
Matcher for the roster data structure
-
targets
() -
Return ip addrs based on netmask, sitting in the "glob" spot because it is the default
-
-
Return the targets from the flat yaml file, checks opts for location but defaults to /etc/salt/roster
salt.roster.scan.targets(tgt, tgt_type='glob', **kwargs)
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/roster/all/salt.roster.scan.html