LaTeXfonts.yml 704 Bytes
Newer Older
julian.gethmann's avatar
julian.gethmann committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
# should be more stateless...
- name: Download common MS fonts
  get_url: dest=/tmp/ url=https://www.tug.org/fonts/getnonfreefonts/install-getnonfreefonts mode=777
  register: tex_fonts_dl_ok

- name: Install getnonfreefonts
  environment: 
    PATH: "{{ lookup('env', 'PATH') }}"
  become: yes
  shell: /tmp/install-getnonfreefonts

- name: Install all TeX fonts
  environment: 
    PATH: "{{ lookup('env', 'PATH') }}"
  become: yes
  shell: getnonfreefonts-sys -a

- name: Register all TeX fonts
  environment: 
    PATH: "{{ lookup('env', 'PATH') }}"
  become: yes
  shell: getnonfreefonts-sys -r

- name: cleanup
  file: state=absent dest=/tmp/{{item}}
  with_items: 
  - install-getnonfreefonts