summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-12-02 15:22:10 +0100
committerAhmed Abdelhalim <[email protected]>2025-12-02 15:22:10 +0100
commit048f3154918cdfb65cc21ed2aa254adb0aa2d86b (patch)
tree106c31f7d91a67b07ebc265f4d9dbacb5c72a130
parentfde708bc71f6681a877245668e628942007b2676 (diff)
Add archlinux ghostty install role
-rw-r--r--molecule/archlinux/converge.yml1
-rw-r--r--roles/ghostty/meta/argument_specs.yml6
-rw-r--r--roles/ghostty/meta/main.yml12
-rw-r--r--roles/ghostty/tasks/main.yml6
4 files changed, 25 insertions, 0 deletions
diff --git a/molecule/archlinux/converge.yml b/molecule/archlinux/converge.yml
index d5ab9b98..d9b67f8d 100644
--- a/molecule/archlinux/converge.yml
+++ b/molecule/archlinux/converge.yml
@@ -52,3 +52,4 @@
- role: "firefox"
- role: "fonts"
- role: "alacritty"
+ - role: "ghostty"
diff --git a/roles/ghostty/meta/argument_specs.yml b/roles/ghostty/meta/argument_specs.yml
new file mode 100644
index 00000000..ec6e4898
--- /dev/null
+++ b/roles/ghostty/meta/argument_specs.yml
@@ -0,0 +1,6 @@
+---
+argument_specs:
+ main:
+ short_description: "Install ghostty terminal on ArchLinux"
+ description: "Install ghostty terminal on Linux distribution"
+ options: {}
diff --git a/roles/ghostty/meta/main.yml b/roles/ghostty/meta/main.yml
new file mode 100644
index 00000000..e452f2ad
--- /dev/null
+++ b/roles/ghostty/meta/main.yml
@@ -0,0 +1,12 @@
+---
+dependencies: []
+galaxy_info:
+ author: "a14m"
+ description: "Install ghostty terminal."
+ company: "kartoffeln.work GmbH."
+ license: "MIT"
+ min_ansible_version: "2.18"
+ platforms:
+ - name: "ArchLinux"
+ versions:
+ - "all"
diff --git a/roles/ghostty/tasks/main.yml b/roles/ghostty/tasks/main.yml
new file mode 100644
index 00000000..e6c54196
--- /dev/null
+++ b/roles/ghostty/tasks/main.yml
@@ -0,0 +1,6 @@
+---
+- name: "Ensure Ghostty is installed"
+ become: true
+ ansible.builtin.package:
+ name: "ghostty"
+ state: "present"