Files
dc-deployments-automation/roles/confluence_config/tasks/ubuntu_fonts.yml

15 lines
477 B
YAML

---
- name: Install Google Noto fonts for language coverage
ansible.builtin.package:
name:
- "fonts-noto"
- name: Link the language fonts into the JDK
# Not idiomatic, but cleaner than messing with nested lookups...
ansible.builtin.shell:
cmd: "ln -sf /usr/share/fonts/truetype/noto/* {{ item }}/"
creates: "{{ item }}/NotoSansJavanese-Regular.ttf"
with_items: "{{ atl_fonts_fallback_dirs }}"
changed_when: false # For Molecule idempotence check