Skip to content

Commit 5ed7761

Browse files
DOMjudge teammeisterT
DOMjudge team
authored andcommitted
Include local config snippet from SSH config
This allows both making local changes that do not get overwritten and still distributing changes via ansible. Note that ideally any specific additions should be done above the include, so that the local snippet can override them.
1 parent d5522ff commit 5ed7761

File tree

1 file changed

+7
-2
lines changed
  • provision-contest/ansible/roles/ssh/files

1 file changed

+7
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1+
# This file is managed by ansible, so any changes you make here will
2+
# get overwritten in the next ansible run. If you want to make local
3+
# changes, do this in the following include snippet.
4+
Include ~/.ssh/config-local
5+
16
# Defaults used if no other host definitions apply.
27
# Add more host specific settings above here.
38
Host *
4-
NoHostAuthenticationForLocalhost yes
5-
ForwardAgent yes
9+
NoHostAuthenticationForLocalhost yes
10+
ForwardAgent yes

0 commit comments

Comments
 (0)