diff --git a/playbooks/bootstrap.yml b/playbooks/bootstrap.yml index 24b486f..0029047 100644 --- a/playbooks/bootstrap.yml +++ b/playbooks/bootstrap.yml @@ -57,6 +57,10 @@ - role: user/terminals/kitty tags: kitty + # Install fonts + - role: user/fonts + tags: fonts + # Install Bitwarden CLI - role: user/secrets/bw tags: bw diff --git a/roles/user/fonts/tasks/main.yml b/roles/user/fonts/tasks/main.yml new file mode 100644 index 0000000..eecbbae --- /dev/null +++ b/roles/user/fonts/tasks/main.yml @@ -0,0 +1,16 @@ +--- +- 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.builtin.copy: + src: ~/.local/share/fonts/ + dest: ~/.local/share/fonts/ + mode: 0755 + owner: "{{ target_user }}" + group: "{{ target_user }}"