Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console (UI/API): Export cluster to ansible inventory file #804

Open
arpbs-nsain opened this issue Nov 13, 2024 · 3 comments
Open

Console (UI/API): Export cluster to ansible inventory file #804

arpbs-nsain opened this issue Nov 13, 2024 · 3 comments
Labels
API PostgreSQL Cluster Console API console PostgreSQL Cluster Console enhancement Improvement of the current functionality good first issue Good for newcomers UI PostgreSQL Cluster Console UI

Comments

@arpbs-nsain
Copy link

I have used the console UI to create a custom Postgresql cluster on local VMs and would now like to manage it using Ansible CLI and the automation playbooks in this repository. Is there an API endpoint that I can use to export my cluster configuration in a format I can use with the Anssible playbooks?

Thanks,
Nathan

@vitabaks vitabaks added the question Further information is requested label Nov 13, 2024
@vitabaks
Copy link
Owner

vitabaks commented Nov 13, 2024

Hi @arpbs-nsain ! There's no API for that yet, but it’s planned for a future release of #754

If it’s possible, perhaps you could add this functionality?

In the meantime, you can retrieve the extra_vars and inventory value from the clusters table in the console database.

@vitabaks vitabaks added the good first issue Good for newcomers label Nov 13, 2024
@vitabaks
Copy link
Owner

vitabaks commented Nov 13, 2024

PostgreSQL Cluster Console API Reference https://postgresql-cluster.readme.io

@vitabaks vitabaks added enhancement Improvement of the current functionality and removed question Further information is requested labels Nov 19, 2024
@vitabaks vitabaks added console PostgreSQL Cluster Console UI PostgreSQL Cluster Console UI API PostgreSQL Cluster Console API labels Nov 28, 2024
@vitabaks
Copy link
Owner

If you're interested in this feature, please consider becoming a sponsor.

The development of this feature requires sponsorship to fund developer efforts. If you're already a sponsor and are interested in this feature, please leave a comment here so we can prioritize this issue accordingly.

We also welcome contributions from those willing to dedicate their time to implement this feature on a voluntary basis. Please see the Contributing Guide for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API PostgreSQL Cluster Console API console PostgreSQL Cluster Console enhancement Improvement of the current functionality good first issue Good for newcomers UI PostgreSQL Cluster Console UI
Projects
None yet
Development

No branches or pull requests

2 participants