mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-04 07:11:49 +00:00
Add IPv6 support for publishing ports (#226)
This commit is contained in:
parent
ed3a3dc080
commit
d87777394b
4 changed files with 87 additions and 4 deletions
|
|
@ -380,7 +380,9 @@ class PodmanPodDiff:
|
|||
i.replace('/tcp', '')
|
||||
]).strip(':') for i, j in ports.items()]
|
||||
after = self.params['publish'] or []
|
||||
after = [i.replace("/tcp", "") for i in after]
|
||||
after = [
|
||||
i.replace("/tcp", "").replace("[", "").replace("]", "").strip(":")
|
||||
for i in after]
|
||||
# No support for port ranges yet
|
||||
for ports in after:
|
||||
if "-" in ports:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue