X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=roles%2Ftools%2Ftemplates%2Fssh_config.j2;fp=roles%2Ftools%2Ftemplates%2Fssh_config.j2;h=63cfe81782b1bb01d5cdd59adfb4628488303eb8;hb=b4693a8e0d5a6b79dbbc3c7d3987dabbab4bbd43;hp=0000000000000000000000000000000000000000;hpb=3dd3d428e1c9bd516299d03014485d79db68fff4;p=perso%2FImmae%2FConfig%2FAnsible.git diff --git a/roles/tools/templates/ssh_config.j2 b/roles/tools/templates/ssh_config.j2 new file mode 100644 index 0000000..63cfe81 --- /dev/null +++ b/roles/tools/templates/ssh_config.j2 @@ -0,0 +1,13 @@ +Host * +CheckHostIP no +{% if "graphical_vt" not in features.get(profile, []) %} +ProxyCommand sh -c 'gpg-connect-agent updatestartuptty /bye >/dev/null && nc "$0" "$1"' %h %p +{% endif %} + +Host gitolite +HostName git.immae.eu +User gitolite + +Host immae.eu +HostName immae.eu +User immae