1Rex::Group::Lookup::YAMULs(e3r)Contributed Perl DocumentRaetxi:o:nGroup::Lookup::YAML(3)
2
3
4

NAME

6       Rex::Group::Lookup::YAML - read hostnames and groups from a YAML file
7

DESCRIPTION

9       With this module you can define hostgroups out of an yaml file.
10

SYNOPSIS

12        use Rex::Group::Lookup::YAML;
13        groups_yaml "file.yml";
14

EXPORTED FUNCTIONS

16   groups_yaml($file)
17       With this function you can read groups from yaml files.
18
19       File Example:
20
21       webserver:
22        - fe01
23        - fe02
24        - f03 backends:
25        - be01
26        - be02
27        - f03
28
29        groups_yaml($file);
30
31        groups_yaml($file, create_all_group => TRUE);
32
33
34
35perl v5.28.0                      2017-03-01       Rex::Group::Lookup::YAML(3)
Impressum