From dbb58b34c3b5cb286a9c43ea2fdb902971c1e903 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 d6abc39e511..c381fe4fa18 100644 --- a/lib/ansible/modules/web_infrastructure/acme_certificate.py +++ b/lib/ansible/modules/web_infrastructure/acme_certificate.py @@ -876,7 +876,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')