Bladeren bron

added option 'port'

Fabian Peter Hammerle 7 jaren geleden
bovenliggende
commit
12239ca477
1 gewijzigde bestanden met toevoegingen van 6 en 0 verwijderingen
  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 %}