add a number of pkgs
- putting package deps and pkgnames in vars/main.yml
This commit is contained in:
20
tasks/pkgs/broot.yml
Normal file
20
tasks/pkgs/broot.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
- name: linux specific install
|
||||
block:
|
||||
- ansible.builtin.include_tasks:
|
||||
file: "pkgs/rust.yml"
|
||||
when: pkgconfig_rust is undefined
|
||||
|
||||
- name: append to syspkgs and cargopkgs
|
||||
ansible.builtin.set_fact:
|
||||
syspkgs: "{{ syspkgs + pkgconfig.broot.deps[ansible_os_family] }}"
|
||||
cargopkgs: "{{ cargopkgs + [ 'broot' ] }}"
|
||||
|
||||
when:
|
||||
- ansible_os_family != 'Darwin'
|
||||
|
||||
- name: append to syspkgs
|
||||
ansible.builtin.set_fact:
|
||||
syspkgs: "{{ syspkgs + [ 'broot' ] }}"
|
||||
when:
|
||||
- ansible_os_family == 'Darwin'
|
||||
Reference in New Issue
Block a user