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?
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” ?