summaryrefslogtreecommitdiffstats
path: root/roles/localsend/tasks
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-04-01 15:17:53 +0200
committerAhmed Abdelhalim <[email protected]>2026-04-01 16:53:18 +0200
commit5a7d58027f6e57cba6ce633fb291662f45c30bd4 (patch)
treebedd63224cbfd4fa5e6a167a7e8ef1f7c502d792 /roles/localsend/tasks
parentd3fe12617fbbf8c452f16d03672726a9a403297b (diff)
Add localsend role w/testing
Diffstat (limited to 'roles/localsend/tasks')
-rw-r--r--roles/localsend/tasks/install-archlinux.yml8
-rw-r--r--roles/localsend/tasks/install-debian.yml7
-rw-r--r--roles/localsend/tasks/main.yml3
3 files changed, 18 insertions, 0 deletions
diff --git a/roles/localsend/tasks/install-archlinux.yml b/roles/localsend/tasks/install-archlinux.yml
new file mode 100644
index 00000000..2bb69623
--- /dev/null
+++ b/roles/localsend/tasks/install-archlinux.yml
@@ -0,0 +1,8 @@
+---
+- name: "Ensure localsend is installed"
+ become: true
+ become_user: "aur_builder"
+ kewlfft.aur.aur:
+ name: "localsend-bin"
+ state: "present"
+ use: "yay"
diff --git a/roles/localsend/tasks/install-debian.yml b/roles/localsend/tasks/install-debian.yml
new file mode 100644
index 00000000..2800a8bc
--- /dev/null
+++ b/roles/localsend/tasks/install-debian.yml
@@ -0,0 +1,7 @@
+---
+- name: "Ensure localsend is installed via flathub"
+ community.general.flatpak:
+ name: "org.localsend.localsend_app"
+ remote: "flathub"
+ state: "present"
+ method: "user"
diff --git a/roles/localsend/tasks/main.yml b/roles/localsend/tasks/main.yml
new file mode 100644
index 00000000..71bcbd0d
--- /dev/null
+++ b/roles/localsend/tasks/main.yml
@@ -0,0 +1,3 @@
+---
+- name: "Include OS-specific tasks"
+ ansible.builtin.include_tasks: "install-{{ ansible_facts['os_family'] | lower }}.yml"