瀏覽代碼

added option 'port'

Fabian Peter Hammerle 7 年之前
父節點
當前提交
12239ca477
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      tasks/main.yml

+ 6 - 0
tasks/main.yml

@@ -9,6 +9,9 @@
       {% if host_config.hostname is defined %}
           HostName {{host_config.hostname}}
       {% endif %}
+      {% if host_config.port is defined %}
+          Port {{host_config.port}}
+      {% endif %}
       {% if host_config.user is defined %}
           User {{host_config.user}}
       {% endif %}
@@ -41,6 +44,9 @@
       {% if host_config.hostname is defined %}
           HostName {{host_config.hostname}}
       {% endif %}
+      {% if host_config.port is defined %}
+          Port {{host_config.port}}
+      {% endif %}
       {% if host_config.user is defined %}
           User {{host_config.user}}
       {% endif %}