Skip to content

Commit

Permalink
Fix minor typo in playbook error message
Browse files Browse the repository at this point in the history
  • Loading branch information
wincent committed Aug 25, 2013
1 parent a8984a6 commit fc4307a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/playbook/play.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ def _update_vars_files_for_host(self, host):
new_vars = utils.parse_yaml_from_file(filename4)
if new_vars:
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):
# running a host specific pass and has host specific variables
# load into setup cache
Expand Down

0 comments on commit fc4307a

Please sign in to comment.