dokku / ansible-dokku

Ansible modules for installing and configuring Dokku
MIT License
164 stars 44 forks source link

Implement backup configuration for services #8

Open nicolas-brousse opened 5 years ago

nicolas-brousse commented 5 years ago

Do you think It may be possible to management backup configuration from a module?
On dokku_service_create or maybe something like dokku_service_backup.

I never code with python actually, but may be I could have a look if this feature may interest you and I found some time later.

josegonzalez commented 5 years ago

Sure, seems interesting :)

nicolas-brousse commented 5 years ago

Cool!

To be honest, I'm currently not having time to work on this kind of project.
But since we planned to use dokku to host our customer projects, I'll have to find some time to improve our ansible playbooks. So I'll try to work on a module when I'll update our playbooks.

nicolas-brousse commented 5 years ago

I start thinking to this library and I've got some question before I could really work on it.

I never wrote python before, but it looks not really complicated. So I'll try to do a PR in the coming days. But could you tell me how do you process to test this ansible code? Manually, with a vagrant vm?

josegonzalez commented 5 years ago

I would just assume that a user has configured their backups correctly, and as such would likely have different libraries for updating/removing auth/encryption information.