mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-04 07:11:49 +00:00
generate_systemd: implement --wants, --after and --requires (GH-431) (#432)
* generate_systemd: implement --wants, --after and --requires (GH-431) Signed-off-by: dada513 <dada513@protonmail.com> Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com> Co-authored-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
parent
befb381194
commit
b72a026328
5 changed files with 71 additions and 3 deletions
|
|
@ -726,7 +726,10 @@ class PodmanPodManager:
|
|||
if self.module.params['debug'] or self.module_params['debug']:
|
||||
self.results.update({'podman_version': self.pod.version})
|
||||
self.results.update(
|
||||
{'podman_systemd': generate_systemd(self.module, self.module_params, self.name)})
|
||||
{'podman_systemd': generate_systemd(self.module,
|
||||
self.module_params,
|
||||
self.name,
|
||||
self.pod.version)})
|
||||
|
||||
def execute(self):
|
||||
"""Execute the desired action according to map of actions & states."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue