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

@@ -36,6 +36,8 @@ description:
extends_documentation_fragment: eos
notes:
- Tested against EOS 4.15
- 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:
@@ -235,6 +237,14 @@ EXAMPLES = """
eos_config:
diff_against: intended
intended_config: "{{ lookup('file', 'master.cfg') }}"
- name: for idempotency, use full-form commands
eos_config:
lines:
# - shut
- shutdown
# parents: int eth1
parents: interface Ethernet1
"""
RETURN = """