Scroll to navigation

Rex::Group::Lookup::Command(3pm) User Contributed Perl Documentation Rex::Group::Lookup::Command(3pm)

NAME

Rex::Group::Lookup::Command - read hostnames from a command.

DESCRIPTION

With this module you can define hostgroups out of a command.

SYNOPSIS

 use Rex::Group::Lookup::Command;
 
 group "dbserver"  => lookup_command("cat ip.list | grep -v -E '^#'");
 
 rex xxxx                            # dbserver

EXPORTED FUNCTIONS

2023-03-06 perl v5.36.0