Merge pull request #224 from jkleint/devel

Support YAML list of hosts in playbook.
pull/226/merge
Michael DeHaan 13 years ago
commit decc46ad17

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

Loading…
Cancel
Save