mirror of
https://gitlab.com/sagidayan/linux-config.git
synced 2024-12-23 06:29:53 +00:00
25 lines
551 B
YAML
25 lines
551 B
YAML
- name: Install Alacritty PPA (Debian Based)
|
|
become: true
|
|
apt_repository:
|
|
repo: "ppa:aslatter/ppa"
|
|
validate_certs: no
|
|
state: present
|
|
when: ansible_distribution in ["Debian", "Ubuntu"]
|
|
|
|
- name: Install Alacritty
|
|
become: true
|
|
package:
|
|
name: alacritty
|
|
state: latest
|
|
|
|
- name: Setting up alacritty config file
|
|
copy:
|
|
src: dotfiles/alacritty.yml
|
|
dest: ~/.alacritty.yml
|
|
|
|
- name: "Setting Alacritty theme"
|
|
ansible.builtin.lineinfile:
|
|
path: "~/.alacritty.yml"
|
|
regexp: "^colors:"
|
|
line: "colors: *{{theme}}"
|
|
|