# setup module and ldb\_release command

**URL:** <https://forum.ansible.com/t/setup-module-and-ldb-release-command/24308>\
**Category:** Ansible Project\
**Created:** [April 25, 2017, 1:36pm UTC](https://forum.ansible.com/t/setup-module-and-ldb-release-command/24308 "2017-04-25T13:36:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Z-obaze](https://avatars.discourse-cdn.com/v4/letter/z/7c8e57/32.png) [@Z-obaze](https://forum.ansible.com/u/Z-obaze)\
**Post date:** [April 25, 2017, 1:36pm UTC](https://forum.ansible.com/t/setup-module-and-ldb-release-command/24308/1 "2017-04-25T13:36:15Z")

</div>

Hello,

In order to use the setup module launched by default we have to have on the remote server the lsb\_release command which is given by the redhat-lsb-core package.  
Unfortunately I found that package only from el6 and I have el5 too.  
Do you know how can I do if I want to use the ansible setup module on el5 servers?

Thanks

---

<div class="post-metadata">

**Author:** ![jean-yves](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jean-yves](https://forum.ansible.com/u/jean-yves)\
**Post date:** [April 25, 2017, 2:37pm UTC](https://forum.ansible.com/t/setup-module-and-ldb-release-command/24308/2 "2017-04-25T14:37:34Z")

</div>

redhat-lsb  
Be careful that only version =\< ansible 2.3 is able to adress CentOS / RHEL 5.x servers

Regards,

25 avril 2017 15:37 “Z-obaze” \<pierre.theard@gmail.com\> a écrit:

---

<div class="post-metadata">

**Author:** ![Z-obaze](https://avatars.discourse-cdn.com/v4/letter/z/7c8e57/32.png) [@Z-obaze](https://forum.ansible.com/u/Z-obaze)\
**Post date:** [April 26, 2017, 1:35pm UTC](https://forum.ansible.com/t/setup-module-and-ldb-release-command/24308/3 "2017-04-26T13:35:13Z")

</div>

Yeah I found that package for RHEL 5, but it installs a lot of useless packages for me, I only need lsb\_release script, that’s why I’m looking for redhat-lsb-core but for RHEL 5.  
Do you know how could I process?

And what are you talking about when you say “Be careful that only version =\< ansible 2.3 is able to adress CentOS / RHEL 5.x servers” ?

Regards

---

<div class="post-metadata">

**Author:** ![jean-yves](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jean-yves](https://forum.ansible.com/u/jean-yves)\
**Post date:** [April 26, 2017, 2:33pm UTC](https://forum.ansible.com/t/setup-module-and-ldb-release-command/24308/4 "2017-04-26T14:33:25Z")

</div>

Hi,

If you want lsb\_release, this is the package… no other right way

# rpm -qf /usr/bin/lsb\_release

redhat-lsb-4.0-2.1.4.el5
