summaryrefslogtreecommitdiffstats
path: root/roles/aur_font
diff options
context:
space:
mode:
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"