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