Fabian Peter Hammerle 8 лет назад
Родитель
Сommit
caadec2586
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      tasks/main.yml

+ 3 - 0
tasks/main.yml

@@ -8,6 +8,9 @@
       {% if host_config.hostname is defined %}
           HostName {{host_config.hostname}}
       {% endif %}
+      {% if host_config.user is defined %}
+          User {{host_config.user}}
+      {% endif %}
       {% if host_config.ssh_proxy is defined %}
           ProxyCommand ssh -W localhost:{{host_config.ssh_proxy.port}} {{host_config.ssh_proxy.host}}
       {% endif %}