diff --git a/lib/ansible/module_utils/junos.py b/lib/ansible/module_utils/junos.py index a1b7875ba7..94e41e8d8a 100644 --- a/lib/ansible/module_utils/junos.py +++ b/lib/ansible/module_utils/junos.py @@ -138,7 +138,7 @@ def commit_configuration(module, confirm=False, check=False, comment=None, confi subele.text = str(comment) if confirm_timeout: subele = SubElement(obj, 'confirm-timeout') - subele.text = int(confirm_timeout) + subele.text = str(confirm_timeout) return send_request(module, obj) def command(module, command, format='text', rpc_only=False):