On Monday, November 29, 2021 at 3:17:19 AM UTC-5 ra...@linuxia.de wrote: > On 26/11/2021 11:39, 'Roman Steinhart' via Ansible Project wrote: > > Hi Stefan, > > > > probably with openssl or gpg. > > See > > https://gist.github.com/dreikanter/c7e85598664901afae03fedff308736b < > https://gist.github.com/dreikanter/c7e85598664901afae03fedff308736b> > > https://www.gnupg.org/gph/en/manual/x110.html < > https://www.gnupg.org/gph/en/manual/x110.html> > > > > I mean, I could do this with a basic shell module, but I'm wondering > that there's no module fur such actions. > > > > Hello Roman, > > yeah, I guess you need to use the command module (not the shell module) or > a dedicated backup software that does the encryption. > > Regards > Racke > > Is it OK for an unencrypted copy of the backup to live on the to live on the remote storage, where it could be encrypted and uploaded? Ansible can have access to zip or GPG keys configured, especially publishing pubic GPG keys for use on the server that hosts the unencrypted file. The GPG public key need not be a secret: it could be published to the remote host to encrypt the file locally before upload.
-- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/ac93f7d3-feb4-4ee7-a62c-119db2b2ed0an%40googlegroups.com.