ansible-machine-setup/roles/git/tasks/main.yaml

14 lines
278 B
YAML

---
- name: install required packages
package:
name:
- git
state: latest
- name: install git config
become_user: "{{ account.name }}"
shell:
chdir: "{{ dotfiles }}/git"
cmd: ./install.sh
creates: "{{ account.home }}/.gitconfig"