diff --git a/inventory b/inventory index aaf6ecd..21b02f5 100755 --- a/inventory +++ b/inventory @@ -14,6 +14,14 @@ inventory --list | --host --list: return YAML compatible JSON inventory of all hosts --host : return YAML compatible JSON with all variables defined for the given host +=head1 DESCRIPTION + +This is a completely useless example of a dynamic inventory, since it just returns the +included ini-style inventory, in JSON (or YAML). To test it do: + + $ ansible -i --list-hosts + + =cut @@ -93,8 +101,8 @@ __DATA__ # Each group represents a role or a location # ie. -[default] localhost ansible_connection=local ansible_become=False +[default] pallas.ai.rug.nl ansible_become=true ansible_ssh_user=remco ai17873.ai.rug.nl ansible_become=true ansible_ssh_user=rwouts 129.125.5.[1:255] ansible_become=true @@ -126,6 +134,7 @@ lwp [groningen:vars] timezone=Europe/Amsterdam + #Nijenbrg [5116.315] 129.125.28.[145:166] @@ -283,4 +292,3 @@ turing18.housing.rug.nl mail.ai.rug.nl imap.ai.rug.nl www.ai.rug.nl -