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

pull/42439/merge
Felix Fontein 6 years ago committed by ansibot
parent 3c35b1dbc5
commit dbb58b34c3

@ -876,7 +876,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