1Rex::Group::Lookup::ComUmsaenrd(C3o)ntributed Perl DocumReenxt:a:tGiroonup::Lookup::Command(3)
23
4
NAME
6Rex::Group::Lookup::Command - read hostnames from a command.
7
DESCRIPTION
9With this module you can define hostgroups out of a command.
10
SYNOPSIS
12use Rex::Group::Lookup::Command;
1314
group "dbserver" => lookup_command("cat ip.list | grep -v -E '^#'");
1516
rex xxxx # dbserver
17
EXPORTED FUNCTIONS
19perl v5.28.0 2017-03-01 Rex::Group::Lookup::Command(3)