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

15 lines
278 B
YAML
Raw Normal View History

2020-05-31 15:27:58 +00:00
---
- 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"