Skip to content

Commit

Permalink
wget and unzip fonts into ~/.fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlFK committed Jan 16, 2017
1 parent c079b62 commit 2dd49b1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
21 changes: 21 additions & 0 deletions roles/fonts/tasks/main.yml
@@ -0,0 +1,21 @@
---
- name: Create font dir
file:
state: directory
path: /home/{{ user_name }}/.fonts
owner: "{{ user_name }}"
group: "{{ user_name }}"

- name: Install fonts for inkscape title slides
get_url:
# stored on local server for performance
url: http://gw1/titillium_web.zip
dest: /tmp

- name: unpack the fonts
unarchive:
src: /tmp/titillium_web.zip
dest: /home/{{ user_name }}/.fonts
owner: "{{ user_name }}"
group: "{{ user_name }}"
copy: no
4 changes: 3 additions & 1 deletion site.yml
@@ -1,3 +1,5 @@
- hosts: shotcut
---
- hosts: veyepar-encoder
roles:
- shotcut
- fonts

0 comments on commit 2dd49b1

Please sign in to comment.