mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-04 07:11:49 +00:00
Fix internal networks idempotency (#421)
Remove logic with internal and dns, since Podman supports it in recent versions. Fix #350 Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
parent
848034096c
commit
98c516292f
1 changed files with 0 additions and 4 deletions
|
|
@ -325,10 +325,6 @@ class PodmanNetworkDiff:
|
|||
dns_installed = True
|
||||
before = not bool(
|
||||
[k for k in self.info.get('plugins', []) if 'domainname' in k])
|
||||
if internal:
|
||||
before = True
|
||||
if rootless:
|
||||
before = False
|
||||
after = self.params['disable_dns']
|
||||
# If dnsname plugin is not installed, default is disable_dns=True
|
||||
if not dns_installed and self.module.params['disable_dns'] is None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue