logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Rex::Group::Lookup::File - read hostnames from a file.

Description

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

Exported Functions

lookup_file($file)
       With this function you can read hostnames from a file. Every hostname in one line.

        group "webserver"  => lookup_file("./webserver.lst");
        group "mailserver" => lookup_file("./mailserver.lst");

perl v5.40.0                                       2025-02-06                      Rex::Group::Lookup::File(3pm)

Name

       Rex::Group::Lookup::File - read hostnames from a file.

Synopsis

        use Rex::Group::Lookup::File;
        group "webserver" => lookup_file("./hosts.lst");

See Also