|
|
@ -85,7 +85,7 @@ class ActionModule(ActionBase):
|
|
|
|
}
|
|
|
|
}
|
|
|
|
for arg, version in deprecated_args.items():
|
|
|
|
for arg, version in deprecated_args.items():
|
|
|
|
if self._task.args.get(arg) is not None:
|
|
|
|
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:
|
|
|
|
if self._task.args.get('connect_timeout') is not None:
|
|
|
|
connect_timeout = int(self._task.args.get('connect_timeout', self.DEFAULT_CONNECT_TIMEOUT))
|
|
|
|
connect_timeout = int(self._task.args.get('connect_timeout', self.DEFAULT_CONNECT_TIMEOUT))
|
|
|
|