configuring more packages
This commit is contained in:
31
tasks/pkgs/alacritty.yml
Normal file
31
tasks/pkgs/alacritty.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
---
|
||||
- ansible.builtin.include_vars:
|
||||
file: alacritty.yml
|
||||
name: _alacritty
|
||||
|
||||
- name: linux based installation
|
||||
when: ansible_system == 'Linux'
|
||||
block:
|
||||
- name: install rust and cargo
|
||||
ansible.builtin.include_tasks:
|
||||
file: "pkgs/{{ ansible_os_family }}/rust.yml"
|
||||
tags:
|
||||
- rust
|
||||
- dependency
|
||||
|
||||
- name: append to pkgs
|
||||
set_fact:
|
||||
syspkgs: "{{ syspkgs + _alacritty[ansible_distribution].build_deps }}"
|
||||
srcpkgs: "{{ srcpkgs + [ 'build/alacritty.yml' ] }}"
|
||||
tags:
|
||||
- syspkgs
|
||||
- srcpkgs
|
||||
|
||||
- name: append alacritty to caskpkgs
|
||||
set_fact:
|
||||
caskpkgs: "{{ caskpkgs + [ 'alacritty' ] }}"
|
||||
when: ansible_system == 'Darwin'
|
||||
tags:
|
||||
- MacOS
|
||||
- brew
|
||||
- package
|
||||
Reference in New Issue
Block a user