mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +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: vyos
|
||||
notes:
|
||||
- Tested against VYOS 1.1.7
|
||||
- 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:
|
||||
@@ -102,6 +104,12 @@ EXAMPLES = """
|
||||
vyos_config:
|
||||
src: vyos.cfg
|
||||
backup: yes
|
||||
|
||||
- name: for idempotency, use full-form commands
|
||||
vyos_config:
|
||||
lines:
|
||||
# - set int eth eth2 description 'OUTSIDE'
|
||||
- set interface ethernet eth2 description 'OUTSIDE'
|
||||
"""
|
||||
|
||||
RETURN = """
|
||||
|
||||
Reference in New Issue
Block a user