dotfiles/roles/user/fonts/tasks/main.yml
Matej Focko 7d98bdbea2
fix(user/fonts): switch to rsync
Use rsync for uploading the fonts as it's much faster the builtin.copy

Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-01 21:58:10 +02:00

13 lines
332 B
YAML

---
- name: Create directory for fonts
ansible.builtin.file:
path: ~/.local/share/fonts
state: directory
mode: 0700
owner: "{{ target_user }}"
group: "{{ target_user }}"
- name: Upload fonts from current installation
ansible.posix.synchronize:
src: ~/.local/share/fonts/
dest: ~/.local/share/fonts/