Use default port if ansible_ssh_port is not set for the delegated node

Also add testcase for it.
This commit is contained in:
Daniel Hokka Zakrisson
2012-11-01 11:08:24 +01:00
parent be300b562a
commit fbda2d4628
4 changed files with 23 additions and 5 deletions

View File

@@ -1,2 +1,4 @@
other-alias-node.example.com ansible_ssh_host=localhost ansible_ssh_port=28848
[aliasgroup]
alias-node.example.com ansible_ssh_host=localhost ansible_ssh_port=22
alias-node.example.com ansible_ssh_host=localhost