postgresql_cluster icon indicating copy to clipboard operation
postgresql_cluster copied to clipboard

Migration to Ansible Collection Format

Open ThomasSanson opened this issue 2 years ago • 8 comments

Currently, PostgreSQL High-Availability Cluster installation via Ansible is done using the "role" mode. However, the "collection" format is now the recommended deployment method for Ansible.

I am requesting a migration of PostgreSQL High-Availability Cluster to the Ansible collection format to improve ease of use and maintainability of the installation.

Thank you very much for your excellent work and your consideration of this request

ThomasSanson avatar Mar 21 '23 17:03 ThomasSanson

Hi @ThomasSanson

Please show an example of what you want to see? And what advantages will this give us?

vitabaks avatar Mar 21 '23 21:03 vitabaks

similar discussion https://github.com/vitabaks/postgresql_cluster/discussions/272

vitabaks avatar Mar 21 '23 21:03 vitabaks

I'm one step away from dealing with this issue 😇

ThomasSanson avatar May 30 '23 18:05 ThomasSanson

Hi @vitabaks,

As I've been thinking about our transition to the Ansible collection format, a question occurred to me: should we wait until the two current pull requests are completed before we embark on this task?

The shift to the collection format will result in changing the location of the playbooks, which could likely lead to a fair amount of git conflicts. While these can be managed, I wanted to discuss the best strategy moving forward.

Here are the two options as I see them:

  1. We dive into the transition to the collection format and handle the conflicts as they arise.
  2. We wait until the two pull requests are merged before beginning this transition.

I'm comfortable with either approach and can work on other tasks in the interim if needed, such as improving our linters.

I'd appreciate your thoughts on this. Which approach do you think we should take?

ThomasSanson avatar Jun 07 '23 11:06 ThomasSanson

Hi @ThomasSanson

After the PRs, v1.8.0 will be released and after that, I think we can continue working in this direction.

I think the release will be in June UPD: August.

vitabaks avatar Jun 07 '23 12:06 vitabaks

@ThomasSanson v1.8.0 has been released, we can move on! 😇

vitabaks avatar Aug 19 '23 22:08 vitabaks

Is this still actual? I'm also willing to contribute, just wanted to check if there's some ongoing effort regarding this?

Thank you!

jimnydev avatar Jun 08 '24 19:06 jimnydev