1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Update docs iptables.py (#41245)

* Update iptables.py

added to documentation the required variable 'protocol' for variable destination_port.

* Update iptables.py
This commit is contained in:
Dmitrii Shuvar 2018-08-17 21:14:30 +03:00 committed by René Moser
parent e635dc6969
commit 9d3b479faf

View file

@ -178,11 +178,13 @@ options:
greater than the second one they will be swapped.
destination_port:
description:
- Destination port or port range specification. This can either be
- "Destination port or port range specification. This can either be
a service name or a port number. An inclusive range can also be
specified, using the format first:last. If the first port is omitted,
'0' is assumed; if the last is omitted, '65535' is assumed. If the
first port is greater than the second one they will be swapped.
This is only valid if the rule also specifies one of the following
protocols: tcp, udp, dccp or sctp."
to_ports:
description:
- "This specifies a destination port or range of ports to use: without