Copy a file to (a) node(s) #34
-
Hi, I've been looking in the documentation and the internet, but I couldn't figure out which approach to use in order to copy a file from the client onto one or several servers. Am I trying to use choria to much as I would use Ansible? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
At present not much to do about that, Choria isnt made for file transfer - you could though initiate some kind of download action that fetch from a bucket, thats more Chorias vibe. We are exploring some options for object store in the choria broker but its early days. |
Beta Was this translation helpful? Give feedback.
-
I wrote a "toy" transfer agent/application some times ago, far from ideal because you also have a copy of each file content in the logs 🙃, but for small files it helped me at some point: https://github.com/smortex/transfer-agent More recently I needed to transfer huge binary files from / to arbitrary machines, and I used magic wormhole for this. We created a module with bolt tasks, and we use choria to orchestrate these bolt tasks in site plans: |
Beta Was this translation helpful? Give feedback.
At present not much to do about that, Choria isnt made for file transfer - you could though initiate some kind of download action that fetch from a bucket, thats more Chorias vibe.
We are exploring some options for object store in the choria broker but its early days.