diff options
Diffstat (limited to 'lib/ansible/modules/network/nxos/nxos_ntp_options.py')
-rw-r--r-- | lib/ansible/modules/network/nxos/nxos_ntp_options.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ansible/modules/network/nxos/nxos_ntp_options.py b/lib/ansible/modules/network/nxos/nxos_ntp_options.py index d412413898..afa535f07d 100644 --- a/lib/ansible/modules/network/nxos/nxos_ntp_options.py +++ b/lib/ansible/modules/network/nxos/nxos_ntp_options.py @@ -95,7 +95,7 @@ def get_current(module): cmd = ('show running-config', 'show ntp logging') output = run_commands(module, ({'command': cmd[0], 'output': 'text'}, - {'command': cmd[1], 'output': 'text'})) + {'command': cmd[1], 'output': 'text'})) match = re.search(r"^ntp master(?: (\d+))", output[0], re.M) if match: @@ -167,7 +167,6 @@ def main(): else: commands.append('no ntp logging') - result['commands'] = commands result['updates'] = commands |