diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-02-21 16:36:11 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-02-21 16:36:11 +0100 |
| commit | 75169db20433950e8c583a400c13246c3fe8cd55 (patch) | |
| tree | fd1f08d1fc0d9e7d6b6b5dbbdf46613ae7c5bb7e | |
| parent | 6c778bdcc5f8393306e748ad47c631bf86684cb5 (diff) | |
Fix rnote install on debian
| -rw-r--r-- | roles/rnote/tasks/install-archlinux.yml | 6 | ||||
| -rw-r--r-- | roles/rnote/tasks/install-debian.yml | 5 | ||||
| -rw-r--r-- | roles/rnote/tasks/main.yml | 7 |
3 files changed, 13 insertions, 5 deletions
diff --git a/roles/rnote/tasks/install-archlinux.yml b/roles/rnote/tasks/install-archlinux.yml new file mode 100644 index 00000000..d1c355f7 --- /dev/null +++ b/roles/rnote/tasks/install-archlinux.yml @@ -0,0 +1,6 @@ +--- +- name: "Ensure rnote is installed" + become: true + ansible.builtin.package: + name: "rnote" + state: "present" diff --git a/roles/rnote/tasks/install-debian.yml b/roles/rnote/tasks/install-debian.yml new file mode 100644 index 00000000..9399866c --- /dev/null +++ b/roles/rnote/tasks/install-debian.yml @@ -0,0 +1,5 @@ +--- +- name: "Ensure rnote is installed via flathub" + community.general.flatpak: + name: "com.github.flxzt.rnote" + state: "present" diff --git a/roles/rnote/tasks/main.yml b/roles/rnote/tasks/main.yml index d1c355f7..71bcbd0d 100644 --- a/roles/rnote/tasks/main.yml +++ b/roles/rnote/tasks/main.yml @@ -1,6 +1,3 @@ --- -- name: "Ensure rnote is installed" - become: true - ansible.builtin.package: - name: "rnote" - state: "present" +- name: "Include OS-specific tasks" + ansible.builtin.include_tasks: "install-{{ ansible_facts['os_family'] | lower }}.yml" |
