Rex::Group::Lookup::Command
read hostnames from a command.
- Provided by: rex (Version: 1.3.3-1)
- Report a bug
read hostnames from a command.
With this module you can define hostgroups out of a command.
use Rex::Group::Lookup::Command;
group "dbserver" => lookup_command("cat ip.list | grep -v -E '^#'");
rex xxxx # dbserver