Files
ansible_role_package/tasks/pkgs/carapace.yml
Matthew Stobbs 00e733cbd5 fix typo
Signed-off-by: Matthew Stobbs <matthew@stobbs.ca>
2025-01-23 00:34:56 -07:00

28 lines
713 B
YAML

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