From 89deaf4189bfeb8d8ae2063e282b155473f57781 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Wed, 24 Aug 2022 06:53:31 +0200 Subject: [PATCH] Fix two more booleans. (#464) (#465) (cherry picked from commit 1e24120014f77552f9a690179c095a3b8f21d7b8) Co-authored-by: Felix Fontein --- plugins/modules/docker_config.py | 2 +- plugins/modules/docker_secret.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/modules/docker_config.py b/plugins/modules/docker_config.py index 7038752d..e9aa5d57 100644 --- a/plugins/modules/docker_config.py +++ b/plugins/modules/docker_config.py @@ -339,7 +339,7 @@ class ConfigManager(DockerBaseClass): data_changed = True else: if not self.force: - self.client.module.warn("'ansible_key' label not found. Config will not be changed unless the force parameter is set to 'yes'") + self.client.module.warn("'ansible_key' label not found. Config will not be changed unless the force parameter is set to 'true'") # template_driver has changed if it was set in the previous config # and now it differs, or if it wasn't set but now it is. if attrs.get('Templating', {}).get('Name'): diff --git a/plugins/modules/docker_secret.py b/plugins/modules/docker_secret.py index c6683669..466147b1 100644 --- a/plugins/modules/docker_secret.py +++ b/plugins/modules/docker_secret.py @@ -323,7 +323,7 @@ class SecretManager(DockerBaseClass): data_changed = True else: if not self.force: - self.client.module.warn("'ansible_key' label not found. Secret will not be changed unless the force parameter is set to 'yes'") + self.client.module.warn("'ansible_key' label not found. Secret will not be changed unless the force parameter is set to 'true'") labels_changed = not compare_generic(self.labels, attrs.get('Labels'), 'allow_more_present', 'dict') if self.rolling_versions: self.version = self.get_version(secret)