1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-23 12:01:30 +01:00

install: make git config setup idem-potent

This commit is contained in:
bretello 2020-12-08 02:05:07 +01:00
parent 762f3ef58c
commit 96d7882471
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -62,10 +62,20 @@
# "ipython": "~/.ipython" # FIXME: ipython config is more complex
"ansible.cfg": "~/.ansible.cfg"
- name: git config facts
community.general.git_config:
name: "include.path"
scope: global
register: config_value
- debug:
msg: "Git config include.path={{ config_value }}"
- name: git config
community.general.git_config:
name: "include.path"
value: "{{ DOTFILES }}/gitconfig"
scope: global
when: config_value is not defined
- name: annoyances
shell: |