Ansible distribution variables
by Hernandez Gutierrez, Josue D
In order to follow the common ansible behavior the distribution
variables in clearlinux now have the following values:
"ansible_distribution": "Clear Linux OS", -> what is in the variable
NAME from os-release
"ansible_distribution_file_path": "/etc/os-release", -> the path of the
parsed file now is /etc/os-release but in 2.7 will be /usr/lib/os-
release again, this is to be compatible with other distros in the
upstream code
"ansible_distribution_major_version": "26820", -> clearlinux release
taken from VERSION_ID in the os-release file
"ansible_distribution_release": "clear-linux-os", -> this variable is
taken from ID variable in os-release
"ansible_distribution_version": "26820", -> again taken from VERSION_ID
"ansible_os_family": "ClearLinux", -> this variable will have the same
value for clearlinux systems or mixed images this is asigned reading
the NAME variable in os-release looking for 'Clear Linux OS' or 'Clear
Linux Mix'