From 5a6da68f2f9f1f565b0901b52d55c07714de5fee Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Mon, 17 May 2021 15:39:51 +0000 Subject: [PATCH] git/client: Don't hardcode mail domain --- roles/git/client/templates/git.csh.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/git/client/templates/git.csh.j2 b/roles/git/client/templates/git.csh.j2 index fe769c5..4131262 100644 --- a/roles/git/client/templates/git.csh.j2 +++ b/roles/git/client/templates/git.csh.j2 @@ -2,5 +2,5 @@ if ( "`git config user.name`" == "" ) then git config --global user.name "`getent passwd '${USER}' | cut -d : -f 5`" endif if ( "`git config user.email`" == "" ) then - git config --global user.email "${USER}@foo.sh" + git config --global user.email "${USER}@{{ mail_domain }}" endif