Fix documentation example, missing ")"

This commit is contained in:
Patrick Ogenstad 2016-04-14 23:01:59 +02:00 committed by Matt Clay
parent 8274f55818
commit d4d86b4bc6
3 changed files with 3 additions and 6 deletions

View file

@ -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()

View file

@ -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()

View file

@ -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()