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

26
tasks/pkgs/carapace.yml Normal file
View File

@@ -0,0 +1,26 @@
---
- ansible.builtin.include_vars:
file: carapace.yml
name: _carapace
- name: install carapace RPM
ansible.builtin.yum_repository:
name: Gemfury Private Repo
baseurl: https://yum.fury.io/rsteube/
enabled: true
gpgcheck: false
state: present
when: ansible_os_familiy == 'RedHat'
become: true
- name: enable carapace repository
become: true
ansible.builtin.apt_repository:
repo: "deb [trusted=yes] https://apt.fury.io/rsteube/ /"
state: present
update_cache: false
when: ansible_os_family == 'Debian'
- name: add carapace to syspkgs
ansible.builtin.set_fact:
syspkgs: "{{ syspkgs + [ 'carapace-bin' ] }}"