Browse Source

added option 'port'

Fabian Peter Hammerle 7 years ago
parent
commit
12239ca477
1 changed files with 6 additions and 0 deletions
  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 %}