Added a host expansion feature to ansible's inventory parsing

This commit is contained in:
Chin Fang 2012-07-24 12:38:52 -07:00
commit e3b2521f01
7 changed files with 87 additions and 16 deletions

View file

@ -3,6 +3,11 @@ Ansible Changes By Release
0.6 "Cabo" ------------ pending
* inventory file can use a line of the form base[beg:end]tail to define a
set of hosts, where [beg:end] defines a numerical range. 'beg' can be a
a string padded with zero(s) to the left. If so provided, it acts as
a formatting hint during hostname expansion. The hint must be confirmed
by having an 'end' that has the same length as 'beg'
* groups variable available as a hash to return the hosts in each group name
* fetch module now does not fail a system when requesting file paths (ex: logs) that don't exist
* apt module now takes an optional install-recommends=yes|no (default yes)