make the packages role more generic
This commit is contained in:
22
tasks/RedHat/neovim.yml
Normal file
22
tasks/RedHat/neovim.yml
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user