Quellcode durchsuchen

added option 'port'

Fabian Peter Hammerle vor 7 Jahren
Ursprung
Commit
12239ca477
1 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen
  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 %}