Add dircolors role
This commit is contained in:
parent
6081b7b9ea
commit
4c0bfbb30a
4 changed files with 17 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
xdg_data_home: "~/.local/share"
|
xdg_data_home: "~/.local/share"
|
||||||
roles:
|
roles:
|
||||||
- bash
|
- bash
|
||||||
#- dircolors
|
- dircolors
|
||||||
#- git
|
#- git
|
||||||
#- hushlogin
|
#- hushlogin
|
||||||
#- mintty
|
#- mintty
|
||||||
|
|
16
roles/dircolors/tasks/main.yml
Normal file
16
roles/dircolors/tasks/main.yml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
---
|
||||||
|
- name: Create the dircolors config directory
|
||||||
|
file:
|
||||||
|
path: ~/.config/dircolors
|
||||||
|
state: directory
|
||||||
|
|
||||||
|
- name: Deploy dircolors
|
||||||
|
file:
|
||||||
|
src: "{{ role_path }}/files/solarized-{{ item }}"
|
||||||
|
dest: "~/.config/dircolors/solarized-{{ item }}"
|
||||||
|
state: link
|
||||||
|
force: yes
|
||||||
|
loop:
|
||||||
|
- dark
|
||||||
|
- light
|
||||||
|
|
Loading…
Add table
Reference in a new issue