--- - name: git config template: src: git/gitconfig.j2 dest: ~/.gitconfig when: - git_user_email is defined - git_user_name is defined