Merge pull request #224 from jkleint/devel

Support YAML list of hosts in playbook.
This commit is contained in:
Michael DeHaan 2012-04-24 13:58:18 -07:00
commit decc46ad17

View file

@ -544,6 +544,8 @@ class PlayBook(object):
# get configuration information about the pattern
pattern = pg.get('hosts',None)
if isinstance(pattern, list):
pattern = ';'.join(pattern)
if self.override_hosts:
pattern = 'all'
if pattern is None: