From 788258917f16ef9b62dfe982f05465fcf303d171 Mon Sep 17 00:00:00 2001 From: Keith Date: Mon, 2 Mar 2015 17:52:07 -0500 Subject: [PATCH] Incorrect keyword argument 'error' Incorrect keyword argument 'error'. It should be 'errors'. --- lib/ansible/callbacks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/callbacks.py b/lib/ansible/callbacks.py index d92e44cdcf..6a15c1844e 100644 --- a/lib/ansible/callbacks.py +++ b/lib/ansible/callbacks.py @@ -694,7 +694,7 @@ class PlaybookCallbacks(object): result = utils.do_encrypt(result, encrypt, salt_size, salt) # handle utf-8 chars - result = to_unicode(result, error='strict') + result = to_unicode(result, errors='strict') call_callback_module( 'playbook_on_vars_prompt', varname, private=private, prompt=prompt, encrypt=encrypt, confirm=confirm, salt_size=salt_size, salt=None, default=default )