ansible-role-onlyoffice/tasks/fonts.yml
2024-02-07 08:31:37 +01:00

13 lines
331 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.stat.changed