From 95a402b8694f58b49a9194752ca47013b79effad Mon Sep 17 00:00:00 2001 From: Sergey Date: Mon, 3 May 2021 01:44:57 +0300 Subject: [PATCH] Fix ipv6=false issue (#250) Pass boolean to ipv6 option in command line. --- plugins/modules/podman_network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/podman_network.py b/plugins/modules/podman_network.py index 5978dde..5ccf770 100644 --- a/plugins/modules/podman_network.py +++ b/plugins/modules/podman_network.py @@ -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']]