# On SLES 11.4 the setup module reports always "0" as ansible\_distribution\_release

**URL:** <https://forum.ansible.com/t/on-sles-11-4-the-setup-module-reports-always-0-as-ansible-distribution-release/19374>\
**Category:** Ansible Developer\
**Created:** [September 29, 2015, 8:36am UTC](https://forum.ansible.com/t/on-sles-11-4-the-setup-module-reports-always-0-as-ansible-distribution-release/19374 "2015-09-29T08:36:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bernhard\_L](https://avatars.discourse-cdn.com/v4/letter/b/7ba0ec/32.png) [@Bernhard\_L](https://forum.ansible.com/u/Bernhard_L)\
**Post date:** [September 29, 2015, 8:36am UTC](https://forum.ansible.com/t/on-sles-11-4-the-setup-module-reports-always-0-as-ansible-distribution-release/19374/1 "2015-09-29T08:36:51Z")

</div>

Hello,

SuSE added a /etc/os-release file with SP4 for SLES11 and there is a little bug in lib/ansible/module\_utils/facts.py, which leads to always having “0” in ansible\_distribution\_release instead of “4”.  
I checked with ansible-1.9.3.

I made a little patch to fix this: [https://github.com/ansible/ansible/pull/12556/files](https://github.com/ansible/ansible/pull/12556/files)

Regards
