1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-04 07:11:49 +00:00

Fix idempotency for systemd keyword (#937)

Fix #936

Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
Sergey 2025-05-29 14:16:09 +03:00 committed by GitHub
parent ac5da409fe
commit 11cc00e6ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 38 additions and 0 deletions

View file

@ -1419,6 +1419,8 @@ class PodmanContainerDiff:
return self._diff_generic('sysctl', '--sysctl')
def diffparam_systemd(self):
if self.params['systemd'] is not None:
self.params['systemd'] = str(self.params['systemd']).lower()
return self._diff_generic('systemd', '--systemd')
def diffparam_timeout(self):