diff --git a/tasks/install_fonts.yml b/tasks/install_fonts.yml index 6316f7112f4d4a8fc754d40c1a06db94fb0cb3d6..3293c79f062b4f5bdadd6aad73c0eac5b34b6347 100644 --- a/tasks/install_fonts.yml +++ b/tasks/install_fonts.yml @@ -1,18 +1,8 @@ --- -# provide fonts for callas -- name: create font-cache folder - ansible.builtin.file: - path: "/usr/local/share/callas/cache/" - state: directory - mode: "0775" - owner: "www-data" - group: "www-data" - # install applefonts -- name: copy applefonts - ansible.builtin.unarchive: - src: "applefonts.zip" - dest: "/usr/share/fonts/truetype/" - mode: "0644" +- name: install applefonts package + ansible.builtin.package: + name: "applefonts" + state: latest notify: - run fc-cache to rebuild font information cache files and add applefonts