mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Fix option change detection / force support for docker_volume. (#47390)
This commit is contained in:
committed by
John R Barker
parent
6e5233b785
commit
8ef994fbc5
@@ -223,7 +223,7 @@ class DockerVolumeManager(object):
|
||||
if self.existing_volume:
|
||||
differences = self.has_different_config()
|
||||
|
||||
if differences and self.parameters.force:
|
||||
if differences or self.parameters.force:
|
||||
self.remove_volume()
|
||||
self.existing_volume = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user