mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 12:21:26 -07:00
Improve paused test and behavior. (#48056)
This commit is contained in:
parent
af2b477950
commit
569ec812e7
2 changed files with 9 additions and 20 deletions
|
@ -2248,6 +2248,7 @@ class ContainerManager(DockerBaseClass):
|
|||
self.fail("Error %s container %s: %s" % (
|
||||
"pausing" if self.parameters.paused else "unpausing", container.Id, str(exc)
|
||||
))
|
||||
container = self._get_container(container.Id)
|
||||
self.results['changed'] = True
|
||||
self.results['actions'].append(dict(set_paused=self.parameters.paused))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue