Parses roster entries out of Host directives from SSH config
salt-ssh --roster sshconfig '*' -r "echo hi"
salt.roster.sshconfig.RosterMatcher(raw, tgt, tgt_type)
Matcher for the roster data structure
get_data(minion)
Return the configured ip
ret_glob_minions()
Return minions that match via glob
targets()
Execute the correct tgt_type routine and return
Parses lines from the SSH config to create roster targets.
lines -- Individual lines from the ssh config file
Dictionary of targets in similar style to the flat roster
Return the targets from the flat yaml file, checks opts for location but defaults to /etc/salt/roster
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/roster/all/salt.roster.sshconfig.html