diff options
| author | Brian Coca <bcoca@users.noreply.github.com> | 2017-05-24 14:31:38 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-24 14:31:38 -0400 |
| commit | e558ec19cd1fd9d00e299cf1938d4ca3cec85cda (patch) | |
| tree | 0545e69d68eb2b0fca2fbfff8c8d5b197fc24307 | |
| parent | 61060b66c2639ba996564d25fb65b6a0accc6125 (diff) | |
| download | ansible-e558ec19cd1fd9d00e299cf1938d4ca3cec85cda.tar.gz | |
Solaris fact fix (#24793)
* ensure locale for solaris fact gathering
fixes issue with locale interfering with proper reading of decimals
fixes #24542
* fixed typoe
| -rw-r--r-- | lib/ansible/module_utils/facts.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ansible/module_utils/facts.py b/lib/ansible/module_utils/facts.py index 662990a3f1..08d4181360 100644 --- a/lib/ansible/module_utils/facts.py +++ b/lib/ansible/module_utils/facts.py @@ -1618,6 +1618,7 @@ class SunOSHardware(Hardware): platform = 'SunOS' def populate(self): + self.module.run_command_environ_update = {'LANG': 'C', 'LC_ALL': 'C', 'LC_NUMERIC': 'C'} self.get_cpu_facts() self.get_memory_facts() self.get_dmi_facts() |
