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 groups_file($file);
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.