From 906dc99c64772cda28ac747bd83b9cdf5d8984d7 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 7 Jul 2016 10:41:59 -0400 Subject: [PATCH] correctly set become value in console fixes #16614 --- lib/ansible/cli/console.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/cli/console.py b/lib/ansible/cli/console.py index ec35a8eff35..200611b5fa8 100644 --- a/lib/ansible/cli/console.py +++ b/lib/ansible/cli/console.py @@ -301,7 +301,7 @@ class ConsoleCLI(CLI, cmd.Cmd): def do_become(self, arg): """Toggle whether plays run with become""" if arg: - self.options.become_user = arg + self.options.become = C.mk_boolean(arg) display.v("become changed to %s" % self.options.become) self.set_prompt() else: