Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/labasubagia/ansible-role-font
Ansible role for installing font
https://github.com/labasubagia/ansible-role-font
ansible ansible-role font
Last synced: 4 months ago
JSON representation
Ansible role for installing font
- Host: GitHub
- URL: https://github.com/labasubagia/ansible-role-font
- Owner: labasubagia
- License: mit
- Created: 2024-07-28T16:03:51.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-29T02:55:54.000Z (6 months ago)
- Last Synced: 2024-09-27T14:03:51.247Z (4 months ago)
- Topics: ansible, ansible-role, font
- Homepage: https://galaxy.ansible.com/ui/standalone/roles/labasubagia/font/
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Font
=========This role can be used to install font in Linux
Requirements
------------
- Ansible Core >= 2.1
- Tested Linux Distribution
- Debian 12
- Ubuntu 24.04
- Linux Mint 21.3
- Fedora 40
> Note: Other distributions likely to work but not been testedRole Variables
--------------The following variables will change the behavior of this role (default values are shown below):
```yaml
# Archive font url (usually zip)
font_url: https://github.com/adobe-fonts/source-sans/releases/download/3.052R/TTF-source-sans-3.052R.zip# Installed font directory
font_dir: "{{ ansible_env.HOME }}/.fonts"# State of font (present or absent)
font_state: 'present'
```Example Playbook
----------------
```yaml- hosts: servers
roles:
- role: labasubagia.font
vars:
font_url: https://github.com/adobe-fonts/source-sans/releases/download/3.052R/TTF-source-sans-3.052R.zip
font_dir: ~/.local/share/fonts
font_state: present
```License
-------MIT
Author Information
------------------[Laba Subagia](https://github.com/labasubagia)