setup module and ldb_release command

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

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:

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

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