ansible-role-onlyoffice/tasks/fonts.yml
2024-04-25 17:49:47 +02:00

13 lines
326 B
YAML

---
- name: "Fonts | Copy font files"
ansible.builtin.copy:
src: "{{ item }}"
dest: /usr/local/share/fonts
mode: "0644"
with_fileglob:
- "files/fonts/*"
register: copy_fonts
- name: "Fonts | Generate Allfonts.js"
ansible.builtin.command: documentserver-generate-allfonts.sh
when: copy_fonts.changed