mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
ufw: allow gre and igmp protocols (#51166)
* ufw: allow gre and igmp protocols. * Add changelog.
This commit is contained in:
parent
95557077b6
commit
a279892fae
2 changed files with 4 additions and 2 deletions
2
changelogs/fragments/51166-ufw-gre-igmp.yaml
Normal file
2
changelogs/fragments/51166-ufw-gre-igmp.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- "ufw - ``proto`` can now also be ``gre`` and ``igmp``."
|
|
@ -81,7 +81,7 @@ options:
|
|||
proto:
|
||||
description:
|
||||
- TCP/IP protocol.
|
||||
choices: [ any, tcp, udp, ipv6, esp, ah ]
|
||||
choices: [ any, tcp, udp, ipv6, esp, ah, gre, igmp ]
|
||||
name:
|
||||
description:
|
||||
- Use profile located in C(/etc/ufw/applications.d).
|
||||
|
@ -255,7 +255,7 @@ def main():
|
|||
from_port=dict(type='str'),
|
||||
to_ip=dict(type='str', default='any', aliases=['dest', 'to']),
|
||||
to_port=dict(type='str', aliases=['port']),
|
||||
proto=dict(type='str', aliases=['protocol'], choices=['ah', 'any', 'esp', 'ipv6', 'tcp', 'udp']),
|
||||
proto=dict(type='str', aliases=['protocol'], choices=['ah', 'any', 'esp', 'ipv6', 'tcp', 'udp', 'gre', 'igmp']),
|
||||
app=dict(type='str', aliases=['name']),
|
||||
comment=dict(type='str'),
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue