Download fonts directly from the Internet
This commit is contained in:
parent
64229ffe2f
commit
71a053c8ba
1 changed files with 4 additions and 3 deletions
|
@ -19,16 +19,17 @@
|
||||||
state: directory
|
state: directory
|
||||||
- name: Extract TeX Gyre fonts
|
- name: Extract TeX Gyre fonts
|
||||||
ansible.builtin.unarchive:
|
ansible.builtin.unarchive:
|
||||||
src: tg2_501otf.zip
|
remote_src: yes
|
||||||
|
src: "http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/tg2_501otf.zip"
|
||||||
dest: "{{ ansible_env.HOME }}/.local/share/fonts/texgyre"
|
dest: "{{ ansible_env.HOME }}/.local/share/fonts/texgyre"
|
||||||
creates: "{{ ansible_env.HOME }}/.local/share/fonts/texgyre/tg2_501otf/texgyretermes-regular.otf"
|
creates: "{{ ansible_env.HOME }}/.local/share/fonts/texgyre/tg2_501otf/texgyretermes-regular.otf"
|
||||||
|
|
||||||
- name: Create ~/.local/share/fonts/iosevka directory
|
- name: Create ~/.local/share/fonts/iosevka directory
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ ansible_env.HOME }}/.local/share/fonts/iosevka"
|
path: "{{ ansible_env.HOME }}/.local/share/fonts/iosevka"
|
||||||
state: directory
|
state: directory
|
||||||
- name: Extract Iosevka fonts
|
- name: Extract Iosevka fonts
|
||||||
ansible.builtin.unarchive:
|
ansible.builtin.unarchive:
|
||||||
src: super-ttc-iosevka-14.0.0.zip
|
remote_src: yes
|
||||||
|
src: "https://github.com/be5invis/Iosevka/releases/download/v14.0.0/super-ttc-iosevka-14.0.0.zip"
|
||||||
dest: "{{ ansible_env.HOME }}/.local/share/fonts/iosevka"
|
dest: "{{ ansible_env.HOME }}/.local/share/fonts/iosevka"
|
||||||
creates: "{{ ansible_env.HOME }}/.local/share/fonts/iosevka/iosevka.ttc"
|
creates: "{{ ansible_env.HOME }}/.local/share/fonts/iosevka/iosevka.ttc"
|
||||||
|
|
Loading…
Reference in a new issue