Commit ab55fa42 by Michael DeHaan

Revert "Only override the pattern if it is ommitted"

This reverts commit bb0bf9ee.
parent bb0bf9ee
......@@ -503,7 +503,7 @@ class PlayBook(object):
# get configuration information about the pattern
pattern = pg.get('hosts',None)
if self.override_hosts and not pattern:
if self.override_hosts:
pattern = 'all'
if pattern is None:
raise errors.AnsibleError('hosts declaration is required')
......
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