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
salt.roster.clustershell.
targets
(tgt, tgt_type='glob', **kwargs)¶Return the targets