restructuring for easier maintenance

- creating src packages when things can't be installed via
  actual system package
- neovim srcpkg is being worked on now
This commit is contained in:
Matthew Stobbs
2025-01-19 14:10:41 -07:00
parent 985da518b4
commit c62d4e1977
135 changed files with 262 additions and 242 deletions

View File

@@ -0,0 +1,22 @@
---
- name: enable terra repo for fedora >=41
become: true
when:
- ansible_distribution == 'Fedora'
- ansible_distribution_major_version|int >= 41
ansible.builtin.command:
creates: /etc/yum.repos.d/terra.repo
cmd: dnf install -y --nogpgcheck --repofrompath 'terra,https://repos.fyralabs.com/terra$releasever' terra-release
- name: enable terra repo for fedora <41
when:
- ansible_distribution == 'Fedora'
- ansible_distribution_major_version|int < 41
block:
- ansible.builtin.command:
creates: /etc/yum.repos.d/terra.repo
cmd: dnf config-manager --add-repo https://terra.fyralabs.com/terra.repo
become: true
- ansible.builtin.dnf:
name: terra-release
state: present