From f46768ec6b9e89b3db8f8c1f48e662fd987b20a6 Mon Sep 17 00:00:00 2001 From: Will Woods Date: Tue, 8 Sep 2020 14:32:08 -0400 Subject: [PATCH] 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. --- roles/web-data-analysis/files/countme.gitconfig | 3 +++ roles/web-data-analysis/tasks/main.yml | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 roles/web-data-analysis/files/countme.gitconfig diff --git a/roles/web-data-analysis/files/countme.gitconfig b/roles/web-data-analysis/files/countme.gitconfig new file mode 100644 index 0000000000..72165b0722 --- /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 5e64630a43..64a55e9259 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