salt.roster.clustershell
This roster resolves hostname in a pdsh/clustershell style.
- depends
-
clustershell, https://github.com/cea-hpc/clustershell
When you want to use host globs for target matching, use --roster clustershell
. For example:
salt-ssh --roster clustershell 'server_[1-10,21-30],test_server[5,7,9]' test.ping
-
Return the targets
salt.roster.clustershell.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.clustershell.html