Rex::Group::Lookup::File(3pm)

Rex::Group::Lookup::File3pm

Read hostnames from a file.

Usage

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

Overview

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");

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

From rex 1.16.0-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.