adds FAQ TOC entry, links & examples to modules (#38706)

* adds FAQ TOC entry, links & examples to modules
* moves link to Notes, corrects examples
This commit is contained in:
Alicia Cozine
2018-04-18 13:41:54 -05:00
committed by Toshio Kuratomi
parent aeaf0e358f
commit 0ebc0b9e5a
7 changed files with 57 additions and 0 deletions

View File

@@ -35,6 +35,8 @@ description:
extends_documentation_fragment: ios
notes:
- Tested against IOS 15.6
- Abbreviated commands are NOT idempotent, see
L(Network FAQ,../network/user_guide/faq.html#why-do-the-config-modules-always-return-changed-true-with-abbreviated-commands).
options:
lines:
description:
@@ -262,6 +264,14 @@ EXAMPLES = """
- name: save running to startup when modified
ios_config:
save_when: modified
- name: for idempotency, use full-form commands
ios_config:
lines:
# - shut
- shutdown
# parents: int gig1/0/11
parents: interface GigabitEthernet1/0/11
"""
RETURN = """