1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-03 23:01:48 +00:00

Fix ipv6=false issue (#250)

Pass boolean to ipv6 option in command line.
This commit is contained in:
Sergey 2021-05-03 01:44:57 +03:00 committed by GitHub
parent ecc02870df
commit 95a402b869
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -243,7 +243,7 @@ class PodmanNetworkModuleParams:
return c + ['--ip-range', self.params['ip_range']]
def addparam_ipv6(self, c):
return c + ['--ipv6']
return c + ['--ipv6=%s' % self.params['ipv6']]
def addparam_macvlan(self, c):
return c + ['--macvlan', self.params['macvlan']]