2021-10-22 11:45:20 +00:00
|
|
|
- name: Install Alacritty PPA (Debian Based)
|
|
|
|
become: true
|
|
|
|
apt_repository:
|
|
|
|
repo: "ppa:aslatter/ppa"
|
|
|
|
validate_certs: no
|
|
|
|
state: present
|
|
|
|
when: ansible_facts['os_family'] == "Debian"
|
|
|
|
|
|
|
|
- name: Install Alacritty
|
|
|
|
become: true
|
|
|
|
package:
|
|
|
|
name: alacritty
|
2022-01-18 09:19:19 +00:00
|
|
|
state: present
|
2021-10-22 11:45:20 +00:00
|
|
|
|
|
|
|
- name: Setting up alacritty config file
|
|
|
|
copy:
|
|
|
|
src: dotfiles/alacritty.yml
|
|
|
|
dest: ~/.alacritty.yml
|
2022-01-18 09:19:19 +00:00
|
|
|
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:"
|
2022-01-18 09:19:19 +00:00
|
|
|
line: "colors: *{{ theme }}"
|
|
|
|
changed_when: false
|
2021-10-22 11:45:20 +00:00
|
|
|
|