1Rex::Group::Lookup::FilUes(e3r)Contributed Perl DocumentRaetxi:o:nGroup::Lookup::File(3)
2
3
4
6 Rex::Group::Lookup::File - read hostnames from a file.
7
9 With this module you can define hostgroups out of a file.
10
12 use Rex::Group::Lookup::File;
13 group "webserver" => lookup_file("./hosts.lst");
14
16 lookup_file($file)
17 With this function you can read hostnames from a file. Every hostname
18 in one line.
19
20 group "webserver" => lookup_file("./webserver.lst");
21 group "mailserver" => lookup_file("./mailserver.lst");
22
23
24
25perl v5.38.0 2023-08-07 Rex::Group::Lookup::File(3)