Split misc role into actual steps
This commit is contained in:
parent
5a647e07bf
commit
85f0dd8870
8 changed files with 88 additions and 70 deletions
14
roles/git/tasks/main.yaml
Normal file
14
roles/git/tasks/main.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
- 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"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue