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: