mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
Merged in al2022 (pull request #187)
Add support for Amazon Linux 2022 * first pass at basic AL2022 support * unpin git version on AL2022 * resolve a few package issues/discrepancies * fix non-Amazon distro support * fix missing nfs.service symlink on AL2022 * remove Ubuntu/Debian install task from aws_common (no existing ubuntu dependency tasks) * add amazonlinux:2022 to list of images for testing via molecule * install amazon-cloudwatch-agent from package sources instead of direct RPM on AL2022; add workaround for missing group * fix typo in task name * add mising amazonlinux:2022 test for product_install role * al2022 -> al2023 * al2023 ships with rpm-installed versions of setuptools and distlib that aren't removable and older than what pipenv requires; use py3.11 instead Approved-by: Vadym Kovalskiy Approved-by: Eugene Ivantsov Approved-by: Yurii Kuzan
This commit is contained in:
15
roles/confluence_config/tasks/amazon-2023_fonts.yml
Normal file
15
roles/confluence_config/tasks/amazon-2023_fonts.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
|
||||
- name: Install Google Noto fonts for language coverage
|
||||
ansible.builtin.dnf:
|
||||
name:
|
||||
- "google-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/google-noto*/* {{ item }}/"
|
||||
creates: "{{ item }}/NotoSansJavanese-Regular.ttf"
|
||||
warn: false
|
||||
with_items: "{{ atl_fonts_fallback_dirs }}"
|
||||
changed_when: false # For Molecule idempotence check
|
||||
@@ -129,5 +129,10 @@
|
||||
mode: 0755
|
||||
with_items: "{{ atl_fonts_fallback_dirs }}"
|
||||
|
||||
- name: Install & configure distro language fonts
|
||||
ansible.builtin.include_tasks: "{{ ansible_distribution|lower }}_fonts.yml"
|
||||
- name: Install & configure Amazon-Linux-specific language fonts
|
||||
ansible.builtin.include_tasks: "{{ ansible_distribution | lower }}-{{ ansible_distribution_version }}_fonts.yml"
|
||||
when: ansible_distribution | lower == 'amazon'
|
||||
|
||||
- name: Install & configure Ubuntu/Debian-specific language fonts
|
||||
ansible.builtin.include_tasks: "{{ ansible_distribution | lower }}_fonts.yml"
|
||||
when: ansible_distribution | lower != 'amazon'
|
||||
|
||||
Reference in New Issue
Block a user