SSH Config

In ~/.ssh/config

Host pubgw1.daplab.ch
    Port 2202
    PreferredAuthentications publickey
    IdentityFile ~/.ssh/id_rsa
    ForwardAgent yes
    ProxyCommand none
    ControlPersist 60s
    ControlMaster auto
    ControlPath ~/.ssh/ssh_control_%h_%p_%r
#    User bperroud

Deploying an application

ansible-playbook -i inventory.ini deploy-twitter-to-kafka.yml -s -e twittertokafkatesting=1