mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-08-29 14:28:15 +02:00
Add 'idempotent' attribute.
This commit is contained in:
parent
2a3460827d
commit
238113ec3c
8 changed files with 29 additions and 0 deletions
|
@ -21,6 +21,20 @@ attributes:
|
|||
platform:
|
||||
description: Target OS/families that can be operated against.
|
||||
support: N/A
|
||||
idempotent:
|
||||
description:
|
||||
- When run twice in a row with the same arguments, the second invocation indicates no change.
|
||||
- This assumes that the system controlled/queried by the module has not changed in a relevant way.
|
||||
"""
|
||||
|
||||
# Should be used together with the standard fragment
|
||||
IDEMPOTENT_NOT_MODIFY_STATE = r"""
|
||||
options: {}
|
||||
attributes:
|
||||
idempotent:
|
||||
support: full
|
||||
details:
|
||||
- This action does not modify state.
|
||||
"""
|
||||
|
||||
# Should be used together with the standard fragment
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue