mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +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
@@ -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 = """
|
||||
|
||||
Reference in New Issue
Block a user