diff --git a/group_vars/all b/group_vars/all index 6cecac7..4eae7cf 100644 --- a/group_vars/all +++ b/group_vars/all @@ -76,6 +76,7 @@ base_packages: - jq - python-docs - python2-docs + - screen filesystem_packages: - dosfstools diff --git a/roles/fonts/files/local.conf b/roles/fonts/files/local.conf new file mode 100644 index 0000000..5c5bdbb --- /dev/null +++ b/roles/fonts/files/local.conf @@ -0,0 +1,229 @@ + + + + + + serif + Heuristica + + + sans-serif + Noto Sans + + + monospace + Liberation Mono + + + fantasy + Signika + + + cursive + TeX Gyre Chorus + + + Arial + + Liberation Sans + + + + Arial Narrow + + Liberation Sans Narrow + + + + Book Antiqua + + TeX Gyre Bonum + + + + Calibri + + Carlito + + + + Cambria + + Caladea + + + + New Century Schoolbook + + TeX Gyre Schola + + + + Comic Sans MS + + Signika + + + + Consolas + + Droid Sans Mono Slashed + + + + Constantia + + Merriweather + + + + Corberl + + Merriweather Sans + + + + Courier New + + Courier Prime + + + + Geneva + + Noto Sans + + + + Georgia + + Gelasio + + + + Helvetica + + Liberation Sans + + + + Helvetica Narrow + + Liberation Sans Narrow + + + + Helvetica Neue + + Open Sans + + + + Impact + + Oswald + + + + ITC Zapf Chancery + + TeX Gyre Chorus + + + + Lucida Calligraphy + + Quintessential + + + + Lucida Handwriting + + Quintessential + + + + Lucida Casual + + CantoraOne + + + + Lucida Console + + Droid Sans Mono + + + + Lucida Sans Typewriter + + Liberation Sans Mono + + + + Lucida Fax + + Luxi Mono + + + + Lucida Sans + + Droid Sans + + + + Lucida Grande + + Droid Sans + + + + Palatino Linotype + + TeX Gyre Pagella + + + + SegoeUI + + WeblySleek UI + + + + Symbol + + Symbola + + + + Tahoma + + DejaVu Sans Condensed + + + + Times New Roman + + Liberation Serif + + + + Trebuchet MS + + Ubuntu + + + + Verdana + + DejaVu Sans + + + + Wingdings + + Symbola + + + diff --git a/roles/fonts/meta/main.yml b/roles/fonts/meta/main.yml deleted file mode 100644 index 72123d9..0000000 --- a/roles/fonts/meta/main.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -dependencies: - - { role: base } diff --git a/roles/fonts/tasks/infinality.yml b/roles/fonts/tasks/infinality.yml deleted file mode 100644 index 2d3718c..0000000 --- a/roles/fonts/tasks/infinality.yml +++ /dev/null @@ -1,50 +0,0 @@ ---- -- name: Add Infinality repository to pacman - lineinfile: dest=/etc/pacman.conf - state=present - insertafter=EOF - line="{{ item.line }}" - with_items: - - { line: "[infinality-bundle]" } - - { line: "Server = http://bohoomil.com/repo/$arch" } - tags: - - infinality - -- name: Verify root gnupg directory exists - file: path=/root/.gnupg/ state=directory - tags: - - infinality - -- name: Verify dirmngr is configured - file: path=/root/.gnupg/dirmngr_ldapservers.conf state=touch - tags: - - infinality - -- name: Verify dirmngr is running - command: dirmngr - tags: - - infinality - -- name: Install Infinality repository key - command: pacman-key -r AE6866C7962DDE58 - tags: - - infinality - -- name: Trust Infinality repository key - command: pacman-key --lsign-key AE6866C7962DDE58 - tags: - - infinality - -- name: Update package cache - pacman: update_cache=yes - tags: - - infinality - -- name: Install Infinality bundle - pacman: name={{ item }} state=present - with_items: - - freetype2-infinality-ultimate - - fontconfig-infinality-ultimate - - cairo-infinality-ultimate - tags: - - infinality diff --git a/roles/fonts/tasks/main.yml b/roles/fonts/tasks/main.yml index 8c9466d..e2df0e0 100644 --- a/roles/fonts/tasks/main.yml +++ b/roles/fonts/tasks/main.yml @@ -1,5 +1,58 @@ --- -- include: infinality.yml +- name: Install freetyp2 + pacman: name=freetype2 state=present -- name: Install Terminus - pacman: name=terminus-font state=present +- name: Install cairo + pacman: name=cairo state=present + +- name: Install fontconfig + pacman: name=fontconfig state=present + +- name: Enable LCD filter + file: src=/etc/fonts/conf.avail/11-lcdfilter-default.conf + dest=/etc/fonts/conf.d/11-lcdfilter-default.conf + state=link + +- name: Enable sub-pixel rendering + file: src=/etc/fonts/conf.avail/10-sub-pixel-rgb.conf + dest=/etc/fonts/conf.d/10-sub-pixel-rgb.conf + state=link + +- name: Enable hinting + file: src=/etc/fonts/conf.avail/10-hinting-slight.conf + dest=/etc/fonts/conf.d/10-hinting-slight.conf + state=link + +- name: Push font substitutions + copy: src=local.conf dest=/etc/fonts/local.conf + +- name: Install core fonts + pacman: name={{ item }} state=present + with_items: + - terminus-font + - cantarell-fonts + - noto-fonts + - ttf-dejavu + - ttf-liberation + - ttf-symbola + - gsfonts + - tex-gyre-fonts + - ttf-droid + - ttf-ubuntu-font-family + +- name: Install AUR fonts + aur: name={{ item }} user={{ user.name }} + with_items: + - ttf-signika + - ttf-quintessential + - ttf-oswald + - ttf-opensans + - ttf-merriweather-sans + - ttf-merriweather + - ttf-impallari-cantora + - ttf-carlito + - ttf-caladea + - ttf-courier-prime + - ttf-heuristica + tags: + - aur