mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-08 11:43:10 +00:00
docker_swarm: fix ca_force_rotate idempotency (#53039)
* Fix ca_force_rotate idempotency. * Add changelog.
This commit is contained in:
committed by
John R Barker
parent
8563c2616b
commit
dec97381bc
@@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "docker_swarm - fixes idempotency for the ``ca_force_rotate`` option."
|
||||
@@ -297,6 +297,8 @@ class TaskParameters(DockerBaseClass):
|
||||
ca_config = spec.get('CAConfig') or dict()
|
||||
if self.node_cert_expiry is None:
|
||||
self.node_cert_expiry = ca_config.get('NodeCertExpiry')
|
||||
if self.ca_force_rotate is None:
|
||||
self.ca_force_rotate = ca_config.get('ForceRotate')
|
||||
|
||||
dispatcher = spec.get('Dispatcher') or dict()
|
||||
if self.dispatcher_heartbeat_period is None:
|
||||
|
||||
Reference in New Issue
Block a user