From 5409ed1b28e2b4a3df40ad9aa5d28e69eb7cde29 Mon Sep 17 00:00:00 2001 From: Patrick Ogenstad Date: Thu, 14 Apr 2016 23:01:59 +0200 Subject: [PATCH] Fix documentation example, missing ")" --- network/ios/ios_config.py | 3 +-- network/iosxr/iosxr_config.py | 3 +-- network/nxos/nxos_config.py | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/network/ios/ios_config.py b/network/ios/ios_config.py index b07b07447b5..cdd016d1cd1 100644 --- a/network/ios/ios_config.py +++ b/network/ios/ios_config.py @@ -133,7 +133,7 @@ EXAMPLES = """ replace: block - ios_config: - commands: "{{lookup('file', 'datcenter1.txt'}}" + commands: "{{lookup('file', 'datcenter1.txt')}}" parents: ['ip access-list test'] before: ['no ip access-list test'] replace: block @@ -222,4 +222,3 @@ from ansible.module_utils.netcfg import * from ansible.module_utils.ios import * if __name__ == '__main__': main() - diff --git a/network/iosxr/iosxr_config.py b/network/iosxr/iosxr_config.py index 8dfe7863e4c..6667d491174 100644 --- a/network/iosxr/iosxr_config.py +++ b/network/iosxr/iosxr_config.py @@ -119,7 +119,7 @@ EXAMPLES = """ parents: ['interface GigabitEthernet0/0/0/0'] - iosxr_config: - commands: "{{lookup('file', 'datcenter1.txt'}}" + commands: "{{lookup('file', 'datcenter1.txt')}}" parents: ['ipv4 access-list test'] before: ['no ip access-listv4 test'] replace: block @@ -211,4 +211,3 @@ from ansible.module_utils.netcfg import * from ansible.module_utils.iosxr import * if __name__ == '__main__': main() - diff --git a/network/nxos/nxos_config.py b/network/nxos/nxos_config.py index 99e1a2fc5e2..53a0ddfcc8d 100644 --- a/network/nxos/nxos_config.py +++ b/network/nxos/nxos_config.py @@ -134,7 +134,7 @@ EXAMPLES = """ replace: block - nxos_config: - lines: "{{lookup('file', 'datcenter1.txt'}}" + lines: "{{lookup('file', 'datcenter1.txt')}}" parents: ['ip access-list test'] before: ['no ip access-list test'] replace: block @@ -227,4 +227,3 @@ from ansible.module_utils.netcfg import * from ansible.module_utils.nxos import * if __name__ == '__main__': main() -