opensearch-project / ansible-playbook

🤖 A community repository for Ansible Playbook of OpenSearch Project.
https://opensearch.org/
Apache License 2.0
81 stars 97 forks source link

[Enhancement] Switch from Tar to Rpm for Ansible Playbook #56

Open peterzhuamazon opened 2 years ago

peterzhuamazon commented 2 years ago

With RPM being released on 2.0.0-rc1 (preview) and 1.3.2 today (2022/05/05), we can finally switch from Tar to Rpm for RH-based linux distro.

@saravanan30erd has talked to me about before to have this switch happen.

We can discuss about the approach as we currently dont have deb yet to support Ubuntu.

Thanks.

peterzhuamazon commented 2 years ago

Or we can think about whether we want to maintain both tar and rpm, or just rpm. The problem with only rpm is the versions pre-1.3.2 will not have rpm to install.

Thanks.

ssi444 commented 2 years ago

I think it's not worth doing .rpm and .deb. We need to use a single format .tar for all distributions. This will make the role more versatile.

peterzhuamazon commented 2 years ago

Hi @ssi444 not really saying we need to add new .rpm playbook, but @saravanan30erd was talking about replace existing .tar to .rpm setup.