Specify git config on a per-user basis.

This commit is contained in:
Tom Alexander
2022-10-27 00:22:06 -04:00
parent b69934072f
commit 6e4fffbe9d
4 changed files with 5 additions and 5 deletions

View File

@@ -8,9 +8,9 @@
mode: 0600
owner: "{{ account_name.stdout }}"
group: "{{ group_name.stdout }}"
when: gitconfig is defined
when: "users[account_name.stdout].gitconfig is defined"
loop:
- src: "{{ gitconfig }}"
- src: "{{ users[account_name.stdout].gitconfig }}"
dest: .gitconfig
- name: Copy files