drone-plugins / drone-ansible

Drone plugin to provision via Ansible
http://plugins.drone.io/drone-plugins/drone-ansible
Apache License 2.0
31 stars 44 forks source link

Any ways to config ssh port? #22

Closed mapleeit closed 5 years ago

mapleeit commented 5 years ago

My ssh port isn't 22, how to config this?

xoxys commented 5 years ago

Use ansible environment variables passed to the drone Plugin.

In this case ANSIBLE_REMOTE_PORT should work. See https://docs.ansible.com/ansible/latest/reference_appendices/config.html#environment-variables

mapleeit commented 5 years ago

Thanks!