Kaynağa Gözat

added option 'user'

Fabian Peter Hammerle 7 yıl önce
ebeveyn
işleme
caadec2586
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  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 %}