first pass at basic AL2022 support

This commit is contained in:
Lee Goolsbee
2022-12-13 09:32:19 -06:00
parent 1124f1ac5a
commit 13cd669a54
16 changed files with 99 additions and 10 deletions

View File

@@ -0,0 +1,17 @@
---
- name: Install Google Noto fonts for language coverage
ansible.builtin.yum:
name:
- "google-noto-*"
vars:
ansible_python_interpreter: /usr/bin/python2
- 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/google-noto*/* {{ item }}/"
creates: "{{ item }}/NotoSansJavanese-Regular.ttf"
warn: false
with_items: "{{ atl_fonts_fallback_dirs }}"
changed_when: false # For Molecule idempotence check