more package fixes
This commit is contained in:
@@ -1,19 +1,15 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
- name: append to syspkgs
|
||||
- name: Append to pkg_sys
|
||||
when:
|
||||
- ansible_system == 'Darwin'
|
||||
ansible.builtin.set_fact:
|
||||
syspkgs: "{{ syspkgs + [ 'gping' ] }}"
|
||||
when:
|
||||
- ansible_os_family == 'Darwin'
|
||||
pkg_sys: "{{ pkg_sys + ['gping'] }}"
|
||||
|
||||
- name: linux specific
|
||||
block:
|
||||
- ansible.builtin.include_tasks:
|
||||
file: "pkgs/rust.yml"
|
||||
when:
|
||||
- pkgconfig_rust is undefined
|
||||
|
||||
- ansible.builtin.set_fact:
|
||||
cargopkgs: "{{ cargopkgs + [ 'gping' ] }}"
|
||||
- name: Append to pkg_cargo
|
||||
when:
|
||||
- ansible_os_family != 'Darwin'
|
||||
- ansible_system == 'Linux'
|
||||
notify:
|
||||
- Depend cargo
|
||||
ansible.builtin.set_fact:
|
||||
pkg_cargo: "{{ pkg_cargo + ['gping'] }}"
|
||||
|
||||
Reference in New Issue
Block a user