From f46768ec6b9e89b3db8f8c1f48e662fd987b20a6 Mon Sep 17 00:00:00 2001 From: Will Woods Date: Oct 13 2020 16:17:00 +0000 Subject: countme: add .gitconfig This gives the web-data-analysis `countme` user a .gitconfig file so the commits it makes in its local git repo have a proper user name and email address. (Also it makes git stop complaining..) The email address might not actually be valid, but this repo doesn't currently go anywhere public so it shouldn't really matter. --- diff --git a/roles/web-data-analysis/files/countme.gitconfig b/roles/web-data-analysis/files/countme.gitconfig new file mode 100644 index 0000000..72165b0 --- /dev/null +++ b/roles/web-data-analysis/files/countme.gitconfig @@ -0,0 +1,3 @@ +[user] + name = countme log-parser bot + email = countme@data-analysis.fedoraproject.org diff --git a/roles/web-data-analysis/tasks/main.yml b/roles/web-data-analysis/tasks/main.yml index 5e64630..64a55e9 100644 --- a/roles/web-data-analysis/tasks/main.yml +++ b/roles/web-data-analysis/tasks/main.yml @@ -104,6 +104,11 @@ tags: - web-data +- name: install countme user gitconfig + copy: src=countme.gitconfig dest=/srv/countme/.gitconfig mode=0664 owner=countme group=countme + tags: + - web-data + - name: checkout mirrors-countme from git git: repo: https://pagure.io/mirrors-countme