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