summaryrefslogtreecommitdiff
path: root/roles/git/templates/config.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/git/templates/config.j2')
-rw-r--r--roles/git/templates/config.j223
1 files changed, 23 insertions, 0 deletions
diff --git a/roles/git/templates/config.j2 b/roles/git/templates/config.j2
new file mode 100644
index 0000000..7182626
--- /dev/null
+++ b/roles/git/templates/config.j2
@@ -0,0 +1,23 @@
1[user]
2 signingkey = DC384748709D2619FF2867216D0CAFFDDB1CFE90
3{% if profile in role and role[profile] == "fretlink" %}
4 email = ismael.bouya@fretlink.com
5{% else %}
6 email = ismael.bouya@normalesup.org
7{% endif %}
8 name = Ismaƫl Bouya
9[commit]
10 gpgsign = true
11 verbose = true
12[push]
13 gpgSign = if-asked
14{% if profile in role and role[profile] == "fretlink" %}
15[fretlink]
16 remote-name = upstream
17{% endif %}
18[log]
19 showSignature = true
20{% if profile in role %}
21[init]
22 templateDir = ~/.config/git/templates_{{ role[profile] }}
23{% endif %}