mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add attributes for modules with action plugin (#5951)
Add attributes for modules with action plugin.
This commit is contained in:
parent
7e3c73ceb2
commit
cb7a970f6f
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:
|
||||
|
|
|
@ -15,8 +15,20 @@ notes:
|
|||
- C(PATH) is ignored on the remote node when searching for the C(shutdown) command. Use I(search_paths)
|
||||
to specify locations to search if the default paths do not work.
|
||||
description:
|
||||
- Shut downs a machine.
|
||||
- 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