juicedata / juicefs

JuiceFS is a distributed POSIX file system built on top of Redis and S3.
https://juicefs.com
Apache License 2.0
10.81k stars 952 forks source link

automation: advanced ansible support #2943

Open piyoki opened 2 years ago

piyoki commented 2 years ago

Summary

I would like to contribute the followings:

piyoki commented 2 years ago

@zhijian-pro @Suave How do you guys think?

davies commented 2 years ago

Cool, that's really helpful, please go ahead.

timfeirg commented 2 years ago

Really appreciate this kind of contribution!

Introduce a dedicated ansible-collection that includes roles for high-level automation tasks.

It'd help to list what you're planning to improve (or features to add) specifically, we can take a peek and give advices.

For example one may find it useful to include an ansible task to add JuiceFS mount to /etc/fstab, and there's a specific cli feature developed for that (see pending docs pr).

piyoki commented 2 years ago

The following link is some of the work I've done in the past regarding ansible-galaxy-collection, so maybe we can start from here - https://github.com/techprober/galaxy-collections

For instance, a role to explicitly define hosts in local minio config file - https://github.com/techprober/galaxy-collections/tree/master/collections/minio/roles/set_alias

cc @davies @timfeirg

timfeirg commented 2 years ago

If you'd like to share your ansible work that people can just grab and use, consider adding a link in community integrations or user articles, and maybe also reference them directly in other doc sections as you see fit.

If you'd like to create dedicated documentation on deploying JuiceFS with ansible-galaxy, you could create a page under the "deployment" section, write in whatever language you prefer and we can help with the translation.

piyoki commented 2 years ago

If you'd like to share your ansible work that people can just grab and use, consider adding a link in community integrations or user articles, and maybe also reference them directly in other doc sections as you see fit.

If you'd like to create dedicated documentation on deploying JuiceFS with ansible-galaxy, you could create a page under the "deployment" section, write in whatever language you prefer and we can help with the translation.

Thanks for the information. I will keep you guys updated along the way.

timfeirg commented 1 year ago

FYI we're planning on copying content from https://juicefs.com/docs/zh/cloud/automation/#ansible to CE docs, will probably put under this chapter.

piyoki commented 1 year ago

Yah sure. I will contribute once I got a solid blueprint for this.