configuring more packages

This commit is contained in:
Matthew Stobbs
2025-01-22 22:14:49 -07:00
parent 852331a692
commit 6fa5a46701
88 changed files with 388 additions and 492 deletions

22
tasks/pkgs/terra_repo.yml Normal file
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