mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
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:
committed by
Toshio Kuratomi
parent
aeaf0e358f
commit
0ebc0b9e5a
@@ -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 = """
|
||||
|
||||
Reference in New Issue
Block a user