Hi,
I made simple backup playbook which sort servers to groups based on facts, run logrotate, … issues is with synchronize as everything is running via bastion ssh system and this task try to run directly. Is there any way to add ssh proxy setup for this ? I can delegate last step to bastion system, but it’s quit clumsy
I have done exactly this. I have setup my .ssh/config to look for .bastion on a hostname for ssh’ing. I then use .bastion in my inventory. Only downfall to this is you need to have DNS resolvable. (I have used skydns with injecting hosts into etcd to take care of this when I don’t have external DNS for them)