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/
cp ansible-2.8.3/packaging/rpm/ansible.spec /root/rpmbuild/SPECS/
rpmbuild -bb SPECS/ansible.spec
RPM will be available under /root/rpmbuild/RPMS/noarch/
Now we are planning to build RPM of ansible-core 2.14.1 for RHEL 8 migration project , we are seeing source available in below path and there is not RPM build procedure support.
https://github.com/ansible/ansible/tree/v2.14.1
Please guide procedure to build RPM for ansible-core 2.14.1.
Thanks and Regards,
S Sathish
we have tried below procedure as per documentation it doesn't work.
$ git clone https://github.com/ansible/ansible.git
$ cd ./ansible
$ make rpm
[root@node1 ansible]# make rpm
make: *** No rule to make target 'rpm'. Stop.