Browse Source

added option 'port'

Fabian Peter Hammerle 7 năm trước cách đây
mục cha
commit
12239ca477
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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 %}