From c4e7b54630ca12db63f6752b93fa62fd9351f209 Mon Sep 17 00:00:00 2001 From: Jordan Borean Date: Tue, 27 Mar 2018 13:03:07 +1000 Subject: [PATCH] win_reboot: fixed up warning message for dep args (#37898) --- lib/ansible/plugins/action/win_reboot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/action/win_reboot.py b/lib/ansible/plugins/action/win_reboot.py index eccce679a1..015c15ef97 100644 --- a/lib/ansible/plugins/action/win_reboot.py +++ b/lib/ansible/plugins/action/win_reboot.py @@ -85,7 +85,7 @@ class ActionModule(ActionBase): } for arg, version in deprecated_args.items(): if self._task.args.get(arg) is not None: - display.warning("Since Ansible %s, %s is no longer used with win_reboot" % (arg, version)) + display.warning("Since Ansible %s, %s is no longer used with win_reboot" % (version, arg)) if self._task.args.get('connect_timeout') is not None: connect_timeout = int(self._task.args.get('connect_timeout', self.DEFAULT_CONNECT_TIMEOUT))