summaryrefslogtreecommitdiffstats
path: root/roles/aur_font
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-01-23 15:12:16 +0100
committerAhmed Abdelhalim <[email protected]>2026-01-23 15:20:43 +0100
commitfdb9219aeba47860ba877b5bd44cdf96619d9cb1 (patch)
treed296472c43db750d226ea22f509f28021c85fa46 /roles/aur_font
parentf5ade99064faaff547df2fd82c7d23908c872a7a (diff)
Add PT-Sans font to both debian and archlinux
The PT-Sans is only available using AUR on archlinux, hence implementing a role for fonts that are installed on arch using AUR
Diffstat (limited to 'roles/aur_font')
-rw-r--r--roles/aur_font/meta/argument_specs.yml6
-rw-r--r--roles/aur_font/meta/main.yml12
-rw-r--r--roles/aur_font/tasks/main.yml10
3 files changed, 28 insertions, 0 deletions
diff --git a/roles/aur_font/meta/argument_specs.yml b/roles/aur_font/meta/argument_specs.yml
new file mode 100644
index 00000000..be51c8a9
--- /dev/null
+++ b/roles/aur_font/meta/argument_specs.yml
@@ -0,0 +1,6 @@
+---
+argument_specs:
+ main:
+ short_description: "Install fonts on ArchLinux using AUR"
+ description: "Install fonts on ArchLinux using AUR"
+ options: {}
diff --git a/roles/aur_font/meta/main.yml b/roles/aur_font/meta/main.yml
new file mode 100644
index 00000000..dd82ddcb
--- /dev/null
+++ b/roles/aur_font/meta/main.yml
@@ -0,0 +1,12 @@
+---
+dependencies:
+ - role: "yay"
+galaxy_info:
+ author: "a14m"
+ description: "Install fonts on ArchLinux using AUR"
+ license: "MIT"
+ min_ansible_version: "2.18"
+ platforms:
+ - name: "ArchLinux"
+ versions:
+ - "all"
diff --git a/roles/aur_font/tasks/main.yml b/roles/aur_font/tasks/main.yml
new file mode 100644
index 00000000..e7bf9228
--- /dev/null
+++ b/roles/aur_font/tasks/main.yml
@@ -0,0 +1,10 @@
+---
+- name: "Ensure AUR fonts are installed"
+ become: true
+ become_user: "aur_builder"
+ kewlfft.aur.aur:
+ name: "{{ item }}"
+ state: "present"
+ use: "yay"
+ loop:
+ - "ttf-paratype"