Included ansible_distribution_major_version according with issue #29561
This commit is contained in:
parent
4391f5c094
commit
7a5ea9cae4
1 changed files with 1 additions and 0 deletions
|
@ -469,6 +469,7 @@ class Distribution(object):
|
|||
aix_facts = {}
|
||||
rc, out, err = self.module.run_command("/usr/bin/oslevel")
|
||||
data = out.split('.')
|
||||
aix_facts['distribution_major_version'] = data[0]
|
||||
aix_facts['distribution_version'] = data[0]
|
||||
aix_facts['distribution_release'] = data[1]
|
||||
return aix_facts
|
||||
|
|
Loading…
Reference in a new issue