Commit decc46ad by Michael DeHaan

Merge pull request #224 from jkleint/devel

Support YAML list of hosts in playbook.
parents 2999b6b2 4e1bc436
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment