summaryrefslogtreecommitdiffstats
path: root/roles/gnome-planify/tasks
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-03-05 20:55:18 +0100
committerAhmed Abdelhalim <[email protected]>2026-03-06 03:11:07 +0100
commit62f9f9445cf691eedb87f6d04c3d76b9b058f7ef (patch)
treeabe4eb0ecdf6fc3f7fbe5a2492b9bbff4a4194a2 /roles/gnome-planify/tasks
parent262343cd756c1ef589b94fde084a356a61e3e6f5 (diff)
Add planify gnome app
Diffstat (limited to 'roles/gnome-planify/tasks')
-rw-r--r--roles/gnome-planify/tasks/install-archlinux.yml8
-rw-r--r--roles/gnome-planify/tasks/install-debian.yml7
-rw-r--r--roles/gnome-planify/tasks/main.yml3
3 files changed, 18 insertions, 0 deletions
diff --git a/roles/gnome-planify/tasks/install-archlinux.yml b/roles/gnome-planify/tasks/install-archlinux.yml
new file mode 100644
index 00000000..48c7bc64
--- /dev/null
+++ b/roles/gnome-planify/tasks/install-archlinux.yml
@@ -0,0 +1,8 @@
+---
+- name: "Ensure gnome-planify is installed"
+ become: true
+ become_user: "aur_builder"
+ kewlfft.aur.aur:
+ name: "planify"
+ state: "present"
+ use: "yay"
diff --git a/roles/gnome-planify/tasks/install-debian.yml b/roles/gnome-planify/tasks/install-debian.yml
new file mode 100644
index 00000000..066af6ba
--- /dev/null
+++ b/roles/gnome-planify/tasks/install-debian.yml
@@ -0,0 +1,7 @@
+---
+- name: "Ensure gnome-planify is installed via flathub"
+ community.general.flatpak:
+ name: "io.github.alainm23.planify"
+ remote: "flathub"
+ state: "present"
+ method: "user"
diff --git a/roles/gnome-planify/tasks/main.yml b/roles/gnome-planify/tasks/main.yml
new file mode 100644
index 00000000..71bcbd0d
--- /dev/null
+++ b/roles/gnome-planify/tasks/main.yml
@@ -0,0 +1,3 @@
+---
+- name: "Include OS-specific tasks"
+ ansible.builtin.include_tasks: "install-{{ ansible_facts['os_family'] | lower }}.yml"