Fix documentation example, missing ")"

pull/18777/head
Patrick Ogenstad 9 years ago committed by Matt Clay
parent 8274f55818
commit d4d86b4bc6

@ -133,7 +133,7 @@ EXAMPLES = """
replace: block replace: block
- ios_config: - ios_config:
commands: "{{lookup('file', 'datcenter1.txt'}}" commands: "{{lookup('file', 'datcenter1.txt')}}"
parents: ['ip access-list test'] parents: ['ip access-list test']
before: ['no ip access-list test'] before: ['no ip access-list test']
replace: block replace: block
@ -222,4 +222,3 @@ from ansible.module_utils.netcfg import *
from ansible.module_utils.ios import * from ansible.module_utils.ios import *
if __name__ == '__main__': if __name__ == '__main__':
main() main()

@ -119,7 +119,7 @@ EXAMPLES = """
parents: ['interface GigabitEthernet0/0/0/0'] parents: ['interface GigabitEthernet0/0/0/0']
- iosxr_config: - iosxr_config:
commands: "{{lookup('file', 'datcenter1.txt'}}" commands: "{{lookup('file', 'datcenter1.txt')}}"
parents: ['ipv4 access-list test'] parents: ['ipv4 access-list test']
before: ['no ip access-listv4 test'] before: ['no ip access-listv4 test']
replace: block replace: block
@ -211,4 +211,3 @@ from ansible.module_utils.netcfg import *
from ansible.module_utils.iosxr import * from ansible.module_utils.iosxr import *
if __name__ == '__main__': if __name__ == '__main__':
main() main()

@ -134,7 +134,7 @@ EXAMPLES = """
replace: block replace: block
- nxos_config: - nxos_config:
lines: "{{lookup('file', 'datcenter1.txt'}}" lines: "{{lookup('file', 'datcenter1.txt')}}"
parents: ['ip access-list test'] parents: ['ip access-list test']
before: ['no ip access-list test'] before: ['no ip access-list test']
replace: block replace: block
@ -227,4 +227,3 @@ from ansible.module_utils.netcfg import *
from ansible.module_utils.nxos import * from ansible.module_utils.nxos import *
if __name__ == '__main__': if __name__ == '__main__':
main() main()

Loading…
Cancel
Save