Skip to content

Commit

Permalink
Include local config snippet from SSH config (#136)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
meisterT and DOMjudge team authored May 6, 2024
1 parent f92a099 commit c98c4f1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions provision-contest/ansible/roles/ssh/files/config
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# This file is managed by ansible, so any changes you make here will
# get overwritten in the next ansible run. If you want to make local
# changes, do this in the following include snippet.
Include ~/.ssh/config-local

# Defaults used if no other host definitions apply.
# Add more host specific settings above here.
Host *
NoHostAuthenticationForLocalhost yes
ForwardAgent yes
NoHostAuthenticationForLocalhost yes
ForwardAgent yes

0 comments on commit c98c4f1

Please sign in to comment.