Skip to content

Commit c98c4f1

Browse files
meisterTDOMjudge team
and
DOMjudge team
authored
Include local config snippet from SSH config (#136)
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. Co-authored-by: DOMjudge team <[email protected]>
1 parent f92a099 commit c98c4f1

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)