On Thu, Dec 15, 2022 at 1:48 AM sathish subramani <[email protected]> wrote: > > Hi Team, > > In older version of ansible till 2.9 we download ansible source tar from > below Ansible URL > > URL: https://releases.ansible.com/ansible/ > > Step Followed: > > tar xvf ansible-2.8.3.tar.gz > > cp ansible-2.8.3.tar.gz /root/rpmbuild/SOURCES/
Stop. Grab my tools from https:/github.com/nkadel/ansiblerepo/ , and work from those for RHEL 7. If you have RHEL 8 or 9, use the upstream RPMs for ansible-core instead, and do *not* try to build the mislabeled ansible collections package, now published as "ansible", without reading my .spec files. The split of ansible to "ansible-core", which actually contains usable ansible binaries and tools, and the mislabeled and very large "ansible" tarball built of more than 100 distinct ansible collections modules from many distinct third parties has been a source of agony for ansible users since it was first published. You need "ansible-core". Most of us have no use for the "ansible" package at all now, since its more than 100 modules can be installed more safely and far more compactly by only installing them if or when needed, and updated independently fro meach other. I publish RPM building tools for RHEL 7, 8, 9, and Fedora over at https://github.com/nkadel/ansiblerepo/ . If you have RHEL 8 or later, the published RPMs from Red Hat for ansible-coreare nearly as recent, but there is no upstream published "ansible" RPM for RHEL. You don't need it, and you probably don't want it, but my repo includes for building as recent a version as your RHEL can handle if you need. RHEL 7 has a default of python 3.6 maximum. RHEL 8 and later have python 3.10 available, and can use that for building current ansible-core and ansible releases. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAOCN9rzeZa%3DoZjsm8YW4dDYBt-PXZ%2Bhp1DkGc82n5c2gahTZqg%40mail.gmail.com.
