Merge pull request #224 from jkleint/devel
Support YAML list of hosts in playbook.
This commit is contained in:
commit
decc46ad17
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue