dotfiles/tasks/config.yml

51 lines
1.3 KiB
YAML
Raw Normal View History

2018-09-10 08:53:04 +01:00
- copy:
src: ./files/libinput-gestures.conf
dest: /etc/libinput-gestures.conf
mode: 0644
2018-09-17 17:22:15 +01:00
owner: "{{ user }}"
2018-09-10 08:53:04 +01:00
- template:
src: ./files/gitconfig.conf
2018-09-17 17:22:15 +01:00
dest: "{{ home }}/.gitconfig"
2018-09-10 08:53:04 +01:00
mode: 0644
2018-09-17 17:22:15 +01:00
owner: "{{ user }}"
2018-09-10 08:53:04 +01:00
group: users
- copy:
src: ./files/touchpad.conf
dest: /usr/share/X11/xorg.conf.d/30-touchpad.conf
mode: 0644
2018-09-17 17:22:15 +01:00
owner: "{{ user }}"
2018-09-10 08:53:04 +01:00
- copy:
src: ./files/assh.yml
dest: "{{ home}}/.ssh/assh.yml"
mode: 0644
owner: "{{ user }}"
- set_fact:
user_config_files:
2018-10-06 12:53:09 +01:00
- {src: "terminator.conf", dest: "{{ home }}/.config/terminator/config"}
- {src: "uniemoji.json", dest: "{{ home }}/.config/uniemoji/custom.json"}
- {src: "gitignore_global", dest: "{{ home }}/.config/.gitignore"}
- {src: "rofi.conf", dest: "{{ home }}/.config/rofi/config"}
- {src: "caret-preferences.md", dest: "{{ home }}/.config/Caret/Preferences.md"}
- {src: "alacritty.yml", dest: "{{ home }}/.config/alacritty/alacritty.yml"}
- name: "Create config file directories"
with_items: "{{ user_config_files }}"
file:
path: '{{ item.dest | dirname }}'
state: directory
2018-09-17 17:22:15 +01:00
owner: "{{ user }}"
mode: 0755
2018-09-10 20:40:39 +01:00
- name: "Copy config files"
with_items: "{{ user_config_files }}"
copy:
src: './files/{{ item.src }}'
dest: '{{ item.dest }}'
mode: 0644
owner: "{{ user }}"