--- - name: Configure Git git_config: name: "{{ item.key }}" scope: "{{ git_config_scope }}" value: "{{ item.value }}" with_dict: "{{ git_config }}"