From 5f26407eb7fac4b3c284f4f1435e80201859f681 Mon Sep 17 00:00:00 2001 From: Tim Herren Date: Wed, 10 Jul 2024 09:38:27 +0200 Subject: [PATCH] fix ip-address key and fix intendation (#141) --- plugins/modules/firewall_rules.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/modules/firewall_rules.py b/plugins/modules/firewall_rules.py index ad5794b8..3d484a10 100644 --- a/plugins/modules/firewall_rules.py +++ b/plugins/modules/firewall_rules.py @@ -274,7 +274,7 @@ required: false type: str state: - description: Weather rule should be added or removed. + description: Whether rule should be added or removed. required: false type: str default: present @@ -290,7 +290,7 @@ interface: lan source: destination: - port: 22 + port: 22 action: block - name: Allow all access from RFC1918 networks to this host @@ -298,7 +298,7 @@ interface: lan action: pass source: - ip: 192.168.0.0/16 + address: 192.168.0.0/16 destination: '''