DOKK / manpages / debian 10 / rex / Rex::Group::Lookup::INI.3pm.en
Rex::Group::Lookup::INI(3pm) User Contributed Perl Documentation Rex::Group::Lookup::INI(3pm)

Rex::Group::Lookup::INI - read hostnames and groups from a INI style file

With this module you can define hostgroups out of an ini style file.

 use Rex::Group::Lookup::INI;
 groups_file "file.ini";

With this function you can read groups from INI style files.

File example:

 [webserver]
 fe01
 fe02
 f03
    
 [backends]
 be01
 be02

It also supports hostname expressions like [1..3], [1,2,3] and [1..5/2].

2018-02-01 perl v5.26.1