1
0
Fork 0
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:
Felix Fontein 2023-02-22 14:46:01 +01:00 committed by GitHub
parent 7e3c73ceb2
commit cb7a970f6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 2 deletions

View file

@ -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:

View file

@ -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: