--- - 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' ] }}"