From 0eb4813c8a6ac7df7e1d0d3551bb66e4c0926ddb Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Thu, 19 Jan 2017 11:21:02 +0100 Subject: [PATCH] Add start/end/delta docstring and remove responses for iosxr_template (#20394) --- .../modules/network/iosxr/_iosxr_template.py | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/lib/ansible/modules/network/iosxr/_iosxr_template.py b/lib/ansible/modules/network/iosxr/_iosxr_template.py index 230b071e560..ef17b55633b 100644 --- a/lib/ansible/modules/network/iosxr/_iosxr_template.py +++ b/lib/ansible/modules/network/iosxr/_iosxr_template.py @@ -100,11 +100,21 @@ updates: type: list sample: ['...', '...'] -responses: - description: The set of responses from issuing the commands on the device - returned: when not check_mode - type: list - sample: ['...', '...'] +start: + description: The time the job started + returned: always + type: str + sample: "2016-11-16 10:38:15.126146" +end: + description: The time the job ended + returned: always + type: str + sample: "2016-11-16 10:38:25.595612" +delta: + description: The time elapsed to perform all operations + returned: always + type: str + sample: "0:00:10.469466" """ from ansible.module_utils.local import LocalAnsibleModule from ansible.module_utils.netcfg import NetworkConfig, dumps