From 27e57e41d104cd21f5e9d7e4fc5249578e1120c0 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Mon, 9 Jul 2018 12:53:59 +0200 Subject: [PATCH] Version must be quoted (otherwise it is printed as 2.1) (#42496) --- lib/ansible/modules/web_infrastructure/acme_certificate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/web_infrastructure/acme_certificate.py b/lib/ansible/modules/web_infrastructure/acme_certificate.py index 06720036090..a34e5952d01 100644 --- a/lib/ansible/modules/web_infrastructure/acme_certificate.py +++ b/lib/ansible/modules/web_infrastructure/acme_certificate.py @@ -826,7 +826,7 @@ def main(): supports_check_mode=True, ) if module._name == 'letsencrypt': - module.deprecate("The 'letsencrypt' module is being renamed 'acme_certificate'", version=2.10) + module.deprecate("The 'letsencrypt' module is being renamed 'acme_certificate'", version='2.10') # AnsibleModule() changes the locale, so change it back to C because we rely on time.strptime() when parsing certificate dates. module.run_command_environ_update = dict(LANG='C', LC_ALL='C', LC_MESSAGES='C', LC_CTYPE='C')