make the packages role more generic
This commit is contained in:
17
tasks/RedHat/zoxide.yml
Normal file
17
tasks/RedHat/zoxide.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
- name: Enable copr repo for zoxide
|
||||
become: true
|
||||
when: ansible_distribution != "Fedora"
|
||||
community.general.copr:
|
||||
name: atim/zoxide
|
||||
state: enabled
|
||||
chroot: "{{ coprChroot[ansible_distribution].chroot | default(omit) }}"
|
||||
|
||||
- name: append to pkgs
|
||||
set_fact:
|
||||
syspkgs: "{{ (syspkgs | default([])) + [ 'zoxide' ] }}"
|
||||
tags:
|
||||
- RedHat
|
||||
- linux
|
||||
- package
|
||||
|
||||
Reference in New Issue
Block a user