Drillster / drone-rsync

Drone plugin for syncing files and directories to remote servers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Different ports settings when deploying to multiple hosts

wushan opened this issue · comments

I am using drone-rsync plugin to sync built files to multiple hosts, it works like a charm before we changed the ssh service port on a node to a custom port number.

I know we can specify a port number in config, but can I set ports for each node ?

something like:
10.10.10.1:22
10.10.10.2:32
10.10.10.3:22

Sadly, this is not possible at the moment. It is not extremely difficult to implement however, if you know your way around shell scripts I'd love a PR for this!

I've just merged #16 so this should be fixed now.