Install pinned OpenCode Desktop on Fedora GNOME desktops

Add an opencode_desktop task file to packages_fedora that downloads the
official RPM, verifies a pinned per-architecture SHA-256, and installs it
with DNF. Upstream RPMs are unsigned, so only that task disables GPG
checking; system repository signature policy is unchanged.

Gate the tasks on graphical_desktop plus opencode_desktop_enabled, which
desktop_gnome enables for ikaros and nymph. WSL, Fedora IoT, Void, and
servers stay untouched, and the npm-managed OpenCode CLI keeps its own
configuration and lifecycle flags.

Pin version 2.2.5 with x86_64 and aarch64 digests, and document the
opencode_desktop tag, the cold-cache check-mode limitation, and why the
official download page must confirm the version.
This commit is contained in:
2026-11-01 17:59:14 +01:00
parent 5d5339637d
commit f6ef70a43f
5 changed files with 88 additions and 0 deletions

View File

@@ -164,6 +164,13 @@
loop_control:
label: "{{ item.key }}"
- name: Manage OpenCode Desktop on Fedora graphical workstations
tags: [packages, opencode_desktop]
ansible.builtin.import_tasks: opencode_desktop.yml
when:
- "'graphical_desktop' in group_names"
- opencode_desktop_enabled | default(false) | bool
- name: Validate ChatGPT desktop architecture on Fedora
tags: [packages, chatgpt]
ansible.builtin.assert: