This role is being deprecated in favor of ansible-collection-fancyfonts.
Collection on Galaxy: drew1kun.fancyfonts
Cross-platform ansible role for NerdFonts (on GitHub) installation.
One of the following OS (or deriviatives):
- Debian | Ubuntu
- MacOS (with Homebrew)
NOTE:
- Role requires Fact Gathering by ansible!
- On MacOS only user-specific installation from Homebrew is available
MacOS: if Homebrew is not installed on the managed host, install the following role via galaxy:
ansible-galaxy install geerlingguy.homebrew
And include it in the playbook:
roles:
- geerlingguy.homebrew
OS-Agnostic:
Variable | Description | Default |
---|---|---|
nerdfonts_fonts[] |
List of nerdfonts to be installed | see defaults/main.yml |
nerdfonts_users[] |
List of users nerdfonts to be installed | see vars/debian.yml |
Debian-Specific:
Variable | Description | Default |
---|---|---|
nerdfonts_deb_env |
Install fonts system- or user-wide | system |
nerdfonts_deb_fonts_sys_dir |
System-wide fonts directory | /usr/local/share/fonts |
nerdfonts_deb_fonts_user_dir |
User-specific fonts directory | ~/.local/share/fonts |
None
- hosts: dev_clients_macos
gather_facts: yes
roles:
- geerlingguy.homebrew
- drew1kun.nerdfonts
Andrew Shagayev | e-mail