mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[PR #5951/cb7a970f backport][stable-6] Add attributes for modules with action plugin (#6033)
Add attributes for modules with action plugin (#5951)
Add attributes for modules with action plugin.
(cherry picked from commit cb7a970f6f
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
0c295d4f61
commit
2181c2b090
2 changed files with 25 additions and 2 deletions
|
@ -15,6 +15,9 @@ module: iptables_state
|
|||
short_description: Save iptables state into a file or restore it from a file
|
||||
version_added: '1.1.0'
|
||||
author: quidame (@quidame)
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
- community.general.attributes.flow
|
||||
description:
|
||||
- C(iptables) is used to set up, maintain, and inspect the tables of IP
|
||||
packet filter rules in the Linux kernel.
|
||||
|
@ -36,7 +39,15 @@ notes:
|
|||
still happen if it shall happen, but you will experience a connection
|
||||
timeout instead of more relevant info returned by the module after its
|
||||
failure.
|
||||
- This module supports I(check_mode).
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
action:
|
||||
support: full
|
||||
async:
|
||||
support: full
|
||||
options:
|
||||
counters:
|
||||
description:
|
||||
|
|
|
@ -17,6 +17,18 @@ notes:
|
|||
description:
|
||||
- Shut downs a machine.
|
||||
version_added: "1.1.0"
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
- community.general.attributes.flow
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
action:
|
||||
support: full
|
||||
async:
|
||||
support: full
|
||||
options:
|
||||
delay:
|
||||
description:
|
||||
|
|
Loading…
Reference in a new issue