We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8e391a commit 832661fCopy full SHA for 832661f
plugins/module_utils/podman/podman_container_lib.py
@@ -1812,13 +1812,8 @@ def make_started(self):
1812
self.container.name)
1813
self.update_container_result()
1814
return
1815
- elif self.container.running and not self.container.different:
1816
- if self.restart:
1817
- self.container.restart()
1818
- self.results['actions'].append('restarted %s' %
1819
- self.container.name)
1820
- self.update_container_result()
1821
- return
+ elif self.container.running and not self.container.different \
+ and not self.restart:
1822
self.update_container_result(changed=False)
1823
1824
elif not self.container.exists:
0 commit comments