From 757b544cf33332ef4baa7102401964c113246025 Mon Sep 17 00:00:00 2001 From: Erkki Hurme Date: Tue, 29 Jun 2021 10:38:47 +0300 Subject: [PATCH] fix REJECT target name --- plugins/modules/firewalld.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/modules/firewalld.py b/plugins/modules/firewalld.py index 30acedf..5307e0d 100644 --- a/plugins/modules/firewalld.py +++ b/plugins/modules/firewalld.py @@ -114,7 +114,7 @@ options: description: - firewalld Zone target - 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 version_added: 1.2.0 notes: @@ -748,7 +748,7 @@ def main(): interface=dict(type='str'), masquerade=dict(type='str'), 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, required_by=dict(