This commit is contained in:
2022-10-29 19:27:02 -05:00
parent f844cf67fa
commit f748c3842f
2 changed files with 14 additions and 2 deletions

View File

@@ -70,7 +70,7 @@
- name: FiraCode exists
become_user: user
shell: "ls ~/.fonts/*FiraCode*"
shell: "ls ~/.fonts/*Fira*Code*"
register: FiraCode_exists
ignore_errors: yes
@@ -80,4 +80,11 @@
ansible.builtin.unarchive:
src: https://github.com/ryanoasis/nerd-fonts/releases/download/v2.2.2/FiraCode.zip
dest: "~/.fonts/"
remote_src: yes
remote_src: yes
- name: Start and enable services
ansible.builtin.systemd:
state: started
name: "{{ item }}"
enabled: yes
with_items: "{{ services_to_enable }}"