make the packages role more generic

This commit is contained in:
Matthew Stobbs
2025-01-18 09:24:11 -07:00
parent 3d466e64c7
commit 333ee4c3f5
112 changed files with 1610 additions and 3 deletions

22
tasks/RedHat/neovim.yml Normal file
View File

@@ -0,0 +1,22 @@
---
- name: append to pkgs
when: ansible_distribution == "Fedora"
set_fact:
syspkgs: "{{ (syspkgs | default([])) + [ 'neovim', 'python3-neovim' ] }}"
tags:
- RedHat
- linux
- package
- name: Install neovim appimage
when: ansible_distribution != "Fedora"
become: true
ansible.builtin.get_url:
url: https://github.com/neovim/neovim/releases/download/v0.10.0/nvim.appimage
dest: /usr/local/bin/nvim
checksum: sha256:6a021e9465fe3d3375e28c3e94c1c2c4f7d1a5a67e4a78cf52d18d77b1471390
tags:
- RedHat
- linux
- package