diff --git a/ansible/playbooks/setup.yml b/ansible/playbooks/setup.yml index 6a52829..00a0458 100644 --- a/ansible/playbooks/setup.yml +++ b/ansible/playbooks/setup.yml @@ -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: |