mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-04 07:11:49 +00:00
Add pasta as default network mode after v5
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
parent
7dce3c9c8e
commit
b6fbf0cc4b
1 changed files with 2 additions and 0 deletions
|
|
@ -743,6 +743,8 @@ class PodmanDefaults:
|
|||
self.defaults['ipc'] = "private"
|
||||
self.defaults['uts'] = "private"
|
||||
self.defaults['pid'] = "private"
|
||||
if (LooseVersion(self.version) >= LooseVersion('5.0.0')):
|
||||
self.defaults['network'] = ["pasta"]
|
||||
if (LooseVersion(self.version) >= LooseVersion('3.0.0')):
|
||||
self.defaults['log_level'] = "warning"
|
||||
if (LooseVersion(self.version) >= LooseVersion('4.1.0')):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue