diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-04-10 13:53:44 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-04-10 13:53:44 +0200 |
| commit | 9b617bc7d4f969aa4bc77f78abad7d5672de5430 (patch) | |
| tree | 9c37cca72f1e16dd237975a3caadf6f788d22f82 | |
| parent | badda8c3d1dd6444b952b0d20541b21cc58e9fe3 (diff) | |
Add gnome-newsflash (RSS reader) role w/testing
| -rw-r--r-- | configure.yml | 2 | ||||
| -rw-r--r-- | molecule/archlinux-gnome/converge.yml | 1 | ||||
| -rw-r--r-- | molecule/archlinux/converge.yml | 1 | ||||
| -rw-r--r-- | molecule/debian/converge.yml | 1 | ||||
| -rw-r--r-- | molecule/raspberrypi/converge.yml | 1 | ||||
| -rw-r--r-- | molecule/ubuntu/converge.yml | 1 | ||||
| -rw-r--r-- | roles/gnome-newsflash/meta/argument_specs.yml | 4 | ||||
| -rw-r--r-- | roles/gnome-newsflash/meta/main.yml | 19 | ||||
| -rw-r--r-- | roles/gnome-newsflash/tasks/install-archlinux.yml | 6 | ||||
| -rw-r--r-- | roles/gnome-newsflash/tasks/install-debian.yml | 7 | ||||
| -rw-r--r-- | roles/gnome-newsflash/tasks/main.yml | 3 |
11 files changed, 46 insertions, 0 deletions
diff --git a/configure.yml b/configure.yml index 583d35f5..c285c2c7 100644 --- a/configure.yml +++ b/configure.yml @@ -32,6 +32,7 @@ - role: "gnome-papers" - role: "gnome-planify" - role: "gnome-disk-utility" + - role: "gnome-newsflash" - role: "gradia" - role: "mpv" - role: "neomutt" @@ -88,6 +89,7 @@ - role: "localsend" - role: "microsoft-teams" - role: "gnome-calendar" + - role: "gnome-newsflash" - role: "prometheus-node-exporter" - name: "Raspberry Pi configure" diff --git a/molecule/archlinux-gnome/converge.yml b/molecule/archlinux-gnome/converge.yml index 61a1f73e..6b61dc9d 100644 --- a/molecule/archlinux-gnome/converge.yml +++ b/molecule/archlinux-gnome/converge.yml @@ -85,6 +85,7 @@ - role: "gnome-papers" - role: "gnome-planify" - role: "gnome-disk-utility" + - role: "gnome-newsflash" - role: "gradia" - role: "mpv" - role: "neomutt" diff --git a/molecule/archlinux/converge.yml b/molecule/archlinux/converge.yml index 593d0677..863351ce 100644 --- a/molecule/archlinux/converge.yml +++ b/molecule/archlinux/converge.yml @@ -84,6 +84,7 @@ - role: "gnome-papers" - role: "gnome-planify" - role: "gnome-disk-utility" + - role: "gnome-newsflash" - role: "gradia" - role: "mpv" - role: "neomutt" diff --git a/molecule/debian/converge.yml b/molecule/debian/converge.yml index b7a5e5c2..fab7e4ee 100644 --- a/molecule/debian/converge.yml +++ b/molecule/debian/converge.yml @@ -96,6 +96,7 @@ - role: "gnome-papers" - role: "gnome-planify" - role: "gnome-disk-utility" + - role: "gnome-newsflash" - role: "gradia" - role: "rsync" - role: "gpg" diff --git a/molecule/raspberrypi/converge.yml b/molecule/raspberrypi/converge.yml index 9e4347ff..259b2ec3 100644 --- a/molecule/raspberrypi/converge.yml +++ b/molecule/raspberrypi/converge.yml @@ -92,6 +92,7 @@ - role: "gnome-loupe" - role: "gnome-papers" - role: "gnome-disk-utility" + - role: "gnome-newsflash" - role: "gradia" - role: "rsync" - role: "gpg" diff --git a/molecule/ubuntu/converge.yml b/molecule/ubuntu/converge.yml index 17bbea12..6a8c55d2 100644 --- a/molecule/ubuntu/converge.yml +++ b/molecule/ubuntu/converge.yml @@ -85,6 +85,7 @@ - role: "gnome-papers" - role: "gnome-planify" - role: "gnome-disk-utility" + - role: "gnome-newsflash" - role: "gradia" - role: "rsync" - role: "gpg" diff --git a/roles/gnome-newsflash/meta/argument_specs.yml b/roles/gnome-newsflash/meta/argument_specs.yml new file mode 100644 index 00000000..5af49897 --- /dev/null +++ b/roles/gnome-newsflash/meta/argument_specs.yml @@ -0,0 +1,4 @@ +--- +argument_specs: + main: + options: {} diff --git a/roles/gnome-newsflash/meta/main.yml b/roles/gnome-newsflash/meta/main.yml new file mode 100644 index 00000000..c28e3ee4 --- /dev/null +++ b/roles/gnome-newsflash/meta/main.yml @@ -0,0 +1,19 @@ +--- +dependencies: + - role: "flatpak" + when: ansible_facts['os_family'] == "Debian" +galaxy_info: + author: "a14m" + description: "Install gnome-newsflash" + license: "MIT" + min_ansible_version: "2.18" + platforms: + - name: "ArchLinux" + versions: + - "all" + - name: "Ubuntu" + versions: + - "noble" + - name: "Debian" + versions: + - "bookworm" diff --git a/roles/gnome-newsflash/tasks/install-archlinux.yml b/roles/gnome-newsflash/tasks/install-archlinux.yml new file mode 100644 index 00000000..cac85a48 --- /dev/null +++ b/roles/gnome-newsflash/tasks/install-archlinux.yml @@ -0,0 +1,6 @@ +--- +- name: "Ensure newsflash is installed" + become: true + ansible.builtin.package: + name: "newsflash" + state: "present" diff --git a/roles/gnome-newsflash/tasks/install-debian.yml b/roles/gnome-newsflash/tasks/install-debian.yml new file mode 100644 index 00000000..066afb93 --- /dev/null +++ b/roles/gnome-newsflash/tasks/install-debian.yml @@ -0,0 +1,7 @@ +--- +- name: "Ensure newsflash is installed via flathub" + community.general.flatpak: + name: "io.gitlab.news_flash.NewsFlash" + remote: "flathub" + state: "present" + method: "user" diff --git a/roles/gnome-newsflash/tasks/main.yml b/roles/gnome-newsflash/tasks/main.yml new file mode 100644 index 00000000..71bcbd0d --- /dev/null +++ b/roles/gnome-newsflash/tasks/main.yml @@ -0,0 +1,3 @@ +--- +- name: "Include OS-specific tasks" + ansible.builtin.include_tasks: "install-{{ ansible_facts['os_family'] | lower }}.yml" |
