From 044d0e42ab3bc43496d8b3c51c75a6f73ba1cf32 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Mon, 22 Jul 2024 10:32:46 +0200 Subject: [PATCH] fix(helix): correct the installation * Do not use Copr repo for AlmaLinux * Make a generic install action for Helix from official repositories Signed-off-by: Matej Focko --- roles/editors/helix/tasks/install_Archlinux.yml | 1 + roles/editors/helix/tasks/install_fedora-family.yml | 1 + .../helix/tasks/{install_suse.yml => install_generic.yml} | 0 roles/editors/helix/tasks/install_openSUSE Tumbleweed.yml | 2 +- 4 files changed, 3 insertions(+), 1 deletion(-) create mode 120000 roles/editors/helix/tasks/install_Archlinux.yml rename roles/editors/helix/tasks/{install_suse.yml => install_generic.yml} (100%) diff --git a/roles/editors/helix/tasks/install_Archlinux.yml b/roles/editors/helix/tasks/install_Archlinux.yml new file mode 120000 index 0000000..f96bdbe --- /dev/null +++ b/roles/editors/helix/tasks/install_Archlinux.yml @@ -0,0 +1 @@ +install_generic.yml \ No newline at end of file diff --git a/roles/editors/helix/tasks/install_fedora-family.yml b/roles/editors/helix/tasks/install_fedora-family.yml index e38ec6a..82ac82a 100644 --- a/roles/editors/helix/tasks/install_fedora-family.yml +++ b/roles/editors/helix/tasks/install_fedora-family.yml @@ -3,6 +3,7 @@ community.general.copr: name: varlad/helix state: enabled + when: ansible_distribution not in ("AlmaLinux") become: true - name: Install the Helix diff --git a/roles/editors/helix/tasks/install_suse.yml b/roles/editors/helix/tasks/install_generic.yml similarity index 100% rename from roles/editors/helix/tasks/install_suse.yml rename to roles/editors/helix/tasks/install_generic.yml diff --git a/roles/editors/helix/tasks/install_openSUSE Tumbleweed.yml b/roles/editors/helix/tasks/install_openSUSE Tumbleweed.yml index c252792..f96bdbe 120000 --- a/roles/editors/helix/tasks/install_openSUSE Tumbleweed.yml +++ b/roles/editors/helix/tasks/install_openSUSE Tumbleweed.yml @@ -1 +1 @@ -install_suse.yml \ No newline at end of file +install_generic.yml \ No newline at end of file