mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-21 09:35:45 +02:00
Use attributes to document module capabilities; warn about command module's check_mode support (#118)
* Improve formatting. * Add 'api' action group attribute. * Document attributes. * Known issue: command module declares to support check mode. * Compatibility with older ansible-core releases. * Fix typo. * Improve docs. * Add shortcuts for common combinations. * Update changelogs/fragments/command-check_mode.yml Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com> Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>
This commit is contained in:
parent
29b604464a
commit
835cec5e24
11 changed files with 179 additions and 13 deletions
|
@ -24,9 +24,18 @@ notes:
|
|||
there are at least N such values, you can use I(require_matches_min=N) together with I(allow_no_matches=true).
|
||||
This will make the module fail if there are less than N such entries, but not if there is no match. The latter case
|
||||
is needed for idempotency of the task: once the values have been changed, there should be no further match."
|
||||
- Supports I(check_mode).
|
||||
extends_documentation_fragment:
|
||||
- community.routeros.api
|
||||
- community.routeros.attributes
|
||||
- community.routeros.attributes.actiongroup_api
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: full
|
||||
platform:
|
||||
support: full
|
||||
platforms: RouterOS
|
||||
options:
|
||||
path:
|
||||
description:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue