cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
30.1k stars 3.81k forks source link

Ansible CockroachDB module #40256

Open robert-s-lee opened 5 years ago

robert-s-lee commented 5 years ago

Is your feature request related to a problem? Please describe.

Ansible has community-supported Postgres module. Cockroach specific configurations such as certification create complexity in deployment.

Describe the solution you'd like Create CockroachDB specific module to simplify the deployment.

Describe alternatives you've considered

Additional context

Jira issue: CRDB-5557

Andersson007 commented 2 years ago

I've just published the community.cockroachdb collection 0.1.0 for Ansible on Ansible Galaxy. It contains only one module, cockroachdb_query, at the moment that can be used for different purposes.

Also examples in the Ansible playbook form can be found in the collection's integration tests here.

I'd be grateful for the feedback (I'm not a CockroachDB user, so feedback would be much appreciated).

If the current module works as intended and there's interest from the community, I could write more modules, for example, cockroachdb_info, etc.

Thank you.

Andersson007 commented 2 years ago

I've just released 0.2.0 that contains the cockroachdb_info module (see the DOCUMENTATION and EXAMPLES in the module). How to install / upgrade the collection, see here I won't write anything new until i get feedback from the community, thanks:)