mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
DCD-1020: Add installation and linking of Google Noto fonts as JVM fallbacks.
This commit is contained in:
15
roles/confluence_config/tasks/ubuntu_fonts.yml
Normal file
15
roles/confluence_config/tasks/ubuntu_fonts.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
|
||||
- name: Install Google Noto fonts for language coverage
|
||||
package:
|
||||
name:
|
||||
- "fonts-noto"
|
||||
|
||||
- name: Link the language fonts into the JDK/JRE
|
||||
# Not idiomatic, but cleaner that messing with nested lookups...
|
||||
shell:
|
||||
cmd: "ln -sf /usr/share/fonts/truetype/noto/* {{ item }}/"
|
||||
creates: "{{ item }}/NotoSansJavanese-Regular.ttf"
|
||||
warn: false
|
||||
with_items: "{{ atl_fonts_fallback_dirs }}"
|
||||
changed_when: false # For Molecule idempotence check
|
||||
Reference in New Issue
Block a user