Commit cce7f485 by Michael DeHaan

Merge pull request #3946 from wincent/spelling-fix

Fix minor typo in playbook error message
parents 88966e65 fc4307a9
...@@ -548,7 +548,7 @@ class Play(object): ...@@ -548,7 +548,7 @@ class Play(object):
new_vars = utils.parse_yaml_from_file(filename4) new_vars = utils.parse_yaml_from_file(filename4)
if new_vars: if new_vars:
if type(new_vars) != dict: if type(new_vars) != dict:
raise errors.AnsibleError("%s must be stored as dictonary/hash: %s" % (filename4, type(new_vars))) raise errors.AnsibleError("%s must be stored as dictionary/hash: %s" % (filename4, type(new_vars)))
if host is not None and self._has_vars_in(filename2) and not self._has_vars_in(filename3): if host is not None and self._has_vars_in(filename2) and not self._has_vars_in(filename3):
# running a host specific pass and has host specific variables # running a host specific pass and has host specific variables
# load into setup cache # load into setup cache
......
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