mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-07-31 20:04:50 +00:00
fix REJECT target name
This commit is contained in:
@@ -114,7 +114,7 @@ options:
|
|||||||
description:
|
description:
|
||||||
- firewalld Zone target
|
- firewalld Zone target
|
||||||
- If state is set to C(absent), this will reset the target to default
|
- If state is set to C(absent), this will reset the target to default
|
||||||
choices: [ default, ACCEPT, DROP, REJECT ]
|
choices: [ default, ACCEPT, DROP, %%REJECT%% ]
|
||||||
type: str
|
type: str
|
||||||
version_added: 1.2.0
|
version_added: 1.2.0
|
||||||
notes:
|
notes:
|
||||||
@@ -748,7 +748,7 @@ def main():
|
|||||||
interface=dict(type='str'),
|
interface=dict(type='str'),
|
||||||
masquerade=dict(type='str'),
|
masquerade=dict(type='str'),
|
||||||
offline=dict(type='bool'),
|
offline=dict(type='bool'),
|
||||||
target=dict(type='str', choices=['default', 'ACCEPT', 'DROP', 'REJECT']),
|
target=dict(type='str', choices=['default', 'ACCEPT', 'DROP', '%%REJECT%%']),
|
||||||
),
|
),
|
||||||
supports_check_mode=True,
|
supports_check_mode=True,
|
||||||
required_by=dict(
|
required_by=dict(
|
||||||
|
|||||||
Reference in New Issue
Block a user