From 8a1085ecdd108193d653b5100572300f1fd93779 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de> Date: Thu, 2 Mar 2023 12:10:42 +0100 Subject: [PATCH] chore: remove unnecessary task for font directory creation --- tasks/install_fonts.yml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/tasks/install_fonts.yml b/tasks/install_fonts.yml index 6316f71..3293c79 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 -- GitLab