roles(user/fonts): upload fonts
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
d449c3ae2c
commit
eb6d77de65
2 changed files with 20 additions and 0 deletions
|
@ -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
|
||||
|
|
16
roles/user/fonts/tasks/main.yml
Normal file
16
roles/user/fonts/tasks/main.yml
Normal file
|
@ -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 }}"
|
Loading…
Reference in a new issue