Created
July 11, 2014 16:02
-
-
Save allgood2386/f75426e4960c16c592d4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Ensure git is installed (Debian). | |
apt: name={{ item }} state=installed | |
with_items: git_packages | |
# Install git from source when git_install_from_source is true. | |
- include: install-from-source.yml | |
when: git_install_from_source == true | |
- name: Set user variable. | |
command: git config --global user.email "{{ git_user }}" | |
user: "{{ git_user }}" | |
- name: Set email variable. | |
command: git config --global user.mail {{ git_mail }} | |
- name: Set global file mode. | |
command: git config --global core.filemode {{ git_filemode }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment