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

16 lines
297 B
YAML
Raw Normal View History

2020-05-31 15:27:58 +00:00
---
- name: install required packages
package:
name:
- git
2020-09-30 06:34:18 +00:00
- git-flow
2020-05-31 15:27:58 +00:00
state: latest
- name: install git config
become_user: "{{ account.name }}"
shell:
chdir: "{{ dotfiles }}/git"
cmd: ./install.sh
creates: "{{ account.home }}/.gitconfig"