install: make git config setup idem-potent

feature/symbol-search
bretello 2020-12-08 02:05:07 +01:00
parent 762f3ef58c
commit 96d7882471
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 10 additions and 0 deletions

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: |