You just need to specify the port in your hosts/production
file.
Either like hostname:port
or hostname ansible_ssh_port=port
.
Their docs explain this: http://docs.ansible.com/ansible/intro_inventory.html
You just need to specify the port in your hosts/production
file.
Either like hostname:port
or hostname ansible_ssh_port=port
.
Their docs explain this: http://docs.ansible.com/ansible/intro_inventory.html