< Scap
Scap/Scap3 limit
Filter deploy hosts with --limit-hosts
--limit-hosts or -l accepts a pattern in one of the following formats:
~[regex]- if the pattern starts with ~ it is interpreted as a regular expression, this is not combined with any other option![pattern]- can be combined with any other pattern to negate that pattern. May be combined with other pattern matching options.host[01:10]- range matching, works for ascii chars and numbers, including numbers with a leading 0, may be combined with other pattern-matching options.host*- Matches 0 or more characters in the set A-z, '_', '.', or '-'. May be combined with other pattern matching options. This pattern is applied to thedsh_targetsfile to return a sub-set of hosts to use as a deployment target.
This article is issued from Wikimedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.