diff --git a/lib/ansible/module_utils/facts.py b/lib/ansible/module_utils/facts.py index 6c18d126326..1c2ebb9a7d6 100644 --- a/lib/ansible/module_utils/facts.py +++ b/lib/ansible/module_utils/facts.py @@ -330,9 +330,9 @@ class Facts(object): elif 'OmniOS' in data: self.facts['distribution'] = 'OmniOS' elif uname_rc == 0 and 'NexentaOS_' in uname_out: - self.facts['distribution'] = 'NexentaStor' + self.facts['distribution'] = 'Nexenta' - if self.fact['distribution'] in ('SmartOS', 'OpenIndiana', 'OmniOS', 'NexentaStor'): + if self.fact['distribution'] in ('SmartOS', 'OpenIndiana', 'OmniOS', 'Nexenta'): self.facts['distribution_release'] = data.strip() if uname_rc == 0: self.facts['distribution_version'] = uname_out.split('\n')[0].strip()