Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Rex::Group::Lookup::YAUser)Contributed Perl DocumenRex::Group::Lookup::YAML(3)

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

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

SYNOPSIS
	use Rex::Group::Lookup::YAML;
	groups_yaml "file.yml";

EXPORTED FUNCTIONS
   groups_yaml($file)
       With this function you can read groups from yaml	files.

       File Example:

       webserver:
	- fe01
	- fe02
	- f03 backends:
	- be01
	- be02
	- f03

	groups_yaml($file);

	groups_yaml($file, create_all_group => TRUE);

perl v5.24.1			  2016-07-16	   Rex::Group::Lookup::YAML(3)

NAME | DESCRIPTION | SYNOPSIS | EXPORTED FUNCTIONS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Rex::Group::Lookup::YAML&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help