diff --git a/plugins/modules/docker_config.py b/plugins/modules/docker_config.py index 2657207e..05bd0d0f 100644 --- a/plugins/modules/docker_config.py +++ b/plugins/modules/docker_config.py @@ -340,7 +340,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 77c5e168..8b258872 100644 --- a/plugins/modules/docker_secret.py +++ b/plugins/modules/docker_secret.py @@ -324,7 +324,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)