linux-config/roles/alacritty_user/tasks/main.yml

21 lines
414 B
YAML
Raw Normal View History

2021-10-22 11:45:20 +00:00
- name: Install Alacritty
become: true
package:
name: alacritty
state: present
2021-10-22 11:45:20 +00:00
- name: Setting up alacritty config file
copy:
src: dotfiles/alacritty.yml
dest: ~/.alacritty.yml
mode: preserve
changed_when: false
2021-10-22 11:45:20 +00:00
- name: "Setting Alacritty theme"
ansible.builtin.lineinfile:
path: "~/.alacritty.yml"
regexp: "^colors:"
line: "colors: *{{ theme }}"
changed_when: false
2021-10-22 11:45:20 +00:00