Sprinkle some LANG/LC_* where command output is parsed (#2019)

reviewable/pr18780/r1
Jasper Lievisse Adriaanse 9 years ago committed by Brian Coca
parent 85c1440ede
commit 2b8debbc2b

@ -813,6 +813,9 @@ def main():
),
supports_check_mode=True,
)
module.run_command_environ_update = dict(LANG='C', LC_ALL='C', LC_MESSAGES='C', LC_CTYPE='C')
p = module.params
if p['name']:

@ -481,6 +481,9 @@ def main():
),
supports_check_mode=True,
)
module.run_command_environ_update = dict(LANG='C', LC_ALL='C', LC_MESSAGES='C', LC_CTYPE='C')
p = module.params
if p['name']:

@ -249,6 +249,8 @@ def main():
supports_check_mode=True,
)
module.run_command_environ_update = dict(LANG='C', LC_ALL='C', LC_MESSAGES='C', LC_CTYPE='C')
state = module.params['state']
enabled = module.params['enabled']
downed = module.params['downed']

Loading…
Cancel
Save