Open nicolas-brousse opened 5 years ago
Sure, seems interesting :)
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.
I start thinking to this library and I've got some question before I could really work on it.
dokku_service_backup:
name: default
service: redis
state: present
auth:
access_key_id:
secret_access_key:
region:
signature_version:
endpoint_url:
bucket_name:
schedule:
encryption:
passphrase:
backup-auth
/backup-deauth
, how to know if authentication already set, and how to manage credentials updates. There is no dokku
command that really help us with that. The only way I saw for now, is to directly read file on server. But not sure is the cleanest way.backup-set-encryption
/backup-unset-encryption
, I've almost the same question than for authentication. How to know if backups are already encrypted? And how to manage how to manage the passphrase update?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?
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.
Do you think It may be possible to management backup configuration from a module?
On
dokku_service_create
or maybe something likedokku_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.