chore: move out user roles
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
281b95d824
commit
0554e665c5
157 changed files with 17 additions and 17 deletions
roles/git/tasks
9
roles/git/tasks/install.yml
Normal file
9
roles/git/tasks/install.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
# TODO: Resolve the issues with EL
|
||||
- name: Install the required packages
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- git
|
||||
- git-delta
|
||||
state: present
|
||||
become: true
|
10
roles/git/tasks/main.yml
Normal file
10
roles/git/tasks/main.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
- name: Packages
|
||||
ansible.builtin.include_tasks: install.yml
|
||||
tags: install
|
||||
|
||||
- name: Create git config
|
||||
ansible.builtin.template:
|
||||
src: templates/gitconfig
|
||||
dest: ~/.gitconfig
|
||||
mode: 0640
|
Loading…
Add table
Add a link
Reference in a new issue