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 short_description: Save iptables state into a file or restore it from a file
version_added: '1.1.0' version_added: '1.1.0'
author: quidame (@quidame) author: quidame (@quidame)
extends_documentation_fragment:
- community.general.attributes
- community.general.attributes.flow
description: description:
- C(iptables) is used to set up, maintain, and inspect the tables of IP - C(iptables) is used to set up, maintain, and inspect the tables of IP
packet filter rules in the Linux kernel. packet filter rules in the Linux kernel.
@ -36,7 +39,15 @@ notes:
still happen if it shall happen, but you will experience a connection still happen if it shall happen, but you will experience a connection
timeout instead of more relevant info returned by the module after its timeout instead of more relevant info returned by the module after its
failure. failure.
- This module supports I(check_mode). attributes:
check_mode:
support: full
diff_mode:
support: none
action:
support: full
async:
support: full
options: options:
counters: counters:
description: description:

View file

@ -17,6 +17,18 @@ notes:
description: description:
- Shut downs a machine. - Shut downs a machine.
version_added: "1.1.0" 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: options:
delay: delay:
description: description: