Version must be quoted (otherwise it is printed as 2.1) (#42496)

pull/42147/merge
Felix Fontein 6 years ago committed by Matt Clay
parent c3f2e4679c
commit 27e57e41d1

@ -826,7 +826,7 @@ def main():
supports_check_mode=True, supports_check_mode=True,
) )
if module._name == 'letsencrypt': 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. # 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') module.run_command_environ_update = dict(LANG='C', LC_ALL='C', LC_MESSAGES='C', LC_CTYPE='C')

Loading…
Cancel
Save