...
This is normally done by filtering by OS info, but not necssarily necessarily limited to OS info only:
Code Block | ||
---|---|---|
| ||
#filter using both regular expression and string equality checks: 'os_info' => { 'version' => '/12.2|12.4|15.0/', 'os' => 'IOS' }, # or just the specific os family/type and that's all: 'os_info' => { 'os' => '/(Linux|CentOS|Ubuntu)/' }, |
...