Skip to content

Commit

Permalink
fix ip-address key and fix intendation (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
nerrehmit authored Jul 10, 2024
1 parent a17fc2c commit 5f26407
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/modules/firewall_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -290,15 +290,15 @@
interface: lan
source:
destination:
port: 22
port: 22
action: block
- name: Allow all access from RFC1918 networks to this host
puzzle.opnsense.firewall_rules:
interface: lan
action: pass
source:
ip: 192.168.0.0/16
address: 192.168.0.0/16
destination:
'''

Expand Down

0 comments on commit 5f26407

Please sign in to comment.