Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Tutki
Apua
Rekisteröidy
Kirjaudu sisään
ka
/
ansible-role-home
Tarkkaile
1
Äänestä
0
Fork
0
Koodi
Ongelmat
0
Pull-pyynnöt
0
Julkaisut
0
Wiki
Activity
Selaa lähdekoodia
only add hostname if external_ip is defined
systemd-xsession
Markus Katharina Brechtel
5 vuotta sitten
vanhempi
6f25d6fc32
commit
8c82dbf3e4
1 muutettua tiedostoa
jossa
2 lisäystä
ja
0 poistoa
Jaettu näkymä
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
templates/ssh.config.j2
+ 2
- 0
templates/ssh.config.j2
Näytä tiedosto
@@ -1,4 +1,6 @@
{% for hostname in groups.vms %}
Host {{hostname}}
{% if 'external_ip' in hostvars[hostname] %}
HostName {{hostvars[hostname].external_ip}}
{% endif %}
{% endfor %}