update ansible files

This commit is contained in:
2024-05-26 07:50:50 -05:00
parent 992eea1a2e
commit 5969895920
20 changed files with 223 additions and 26 deletions

View File

@@ -0,0 +1,23 @@
- name: ensure fonts directory
become_user: user
file:
path: "~/.fonts"
state: directory
when: fonts is defined
- name: Ensuring Fonts Exists
become_user: user
shell: "ls ~/.fonts/*{{ item.name }}*"
register: fonts_exist
ignore_errors: yes
with_items: "{{ fonts }}"
when: fonts is defined
- name: Download Fonts
when: fonts_exist is failed
become_user: user
ansible.builtin.unarchive:
src: "{{ item.url }}"
dest: "~/.fonts/"
remote_src: yes
with_items: "{{ fonts }}"