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].
To install Rex, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Rex
CPAN shell
perl -MCPAN -e shell install Rex
For more information on module installation, please visit the detailed CPAN module installation guide.