๐Ÿ“— Ansible playbooks and roles for building an idempotent, interconnected and scalable infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-playbooks/roles/workstation/tasks/win_fonts.yml

40 lines
1.0 KiB

2 years ago
- set_fact:
ws_fonts: "{{ ws_fonts | default([]) +
[ {'name': 'Exo 2 ' ~ item ~ ' (TrueType)', 'file': 'Exo2-' ~ (item | replace(' ', '')) ~ '.ttf' } ] +
[ {'name': 'Exo 2 ' ~ item ~ ' Italic (TrueType)', 'file': 'Exo2-' ~ (item | replace(' ', '')) ~ 'Italic.ttf' } ] }}"
loop:
- Black
- Bold
- Extra Bold
- Extra Light
- Light
- Medium
- Semi Bold
- Thin
- include_tasks: win_font.yml
loop:
- name: Exo 2 Regular (TrueType)
file: Exo2-Regular.ttf
- name: Exo 2 Italic (TrueType)
file: Exo2-Italic.ttf
- include_tasks: win_font.yml
loop: "{{ ws_fonts }}"
- include_tasks: win_font.yml
loop:
- name: Elektra Text Pro (TrueType)
file: ElektraText.otf
- name: Elektra Text Pro Bold (TrueType)
file: ElektraTextBold.otf
- name: Elektra Text Pro Bold Italic (TrueType)
file: ElektraTextBoldItalic.otf
- name: Elektra Text Pro Italic (TrueType)
file: ElektraTextItalic.otf
- name: Elektra Light Pro (TrueType)
file: ElektraTextLight.otf