lot's of standardizing with the refacto
This commit is contained in:
@@ -1,25 +1,19 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
- ansible.builtin.include_vars:
|
||||
file: alacritty.yml
|
||||
name: _alacritty
|
||||
- ansible.builtin.set_fact:
|
||||
pkgconfig_alacritty: "{{ _alacritty | ansible.builtin.combine(pkgconfig.alacritty) }}"
|
||||
|
||||
- name: linux based installation
|
||||
- name: Linux based installation
|
||||
when: ansible_system == 'Linux'
|
||||
block:
|
||||
- name: install rust and cargo
|
||||
- name: Install rust and cargo
|
||||
ansible.builtin.include_tasks:
|
||||
file: "pkgs/rust.yml"
|
||||
when: pkgconfig_rust is undefined
|
||||
|
||||
- name: append to pkgs
|
||||
set_fact:
|
||||
syspkgs: "{{ syspkgs + pkgconfig_alacritty.deps[ansible_distribution] }}"
|
||||
srcpkgs: "{{ srcpkgs + [ 'alacritty' ] }}"
|
||||
- name: Append to pkgs
|
||||
ansible.builtin.set_fact:
|
||||
syspkgs: "{{ syspkgs + alacritty.deps }}"
|
||||
srcpkgs: "{{ cargopkgs + [alacritty] }}"
|
||||
|
||||
- name: append alacritty to caskpkgs
|
||||
- name: Append alacritty to caskpkgs
|
||||
ansible.builtin.set_fact:
|
||||
caskpkgs: "{{ caskpkgs + [ 'alacritty' ] }}"
|
||||
caskpkgs: "{{ caskpkgs + alacritty.pkgs }}"
|
||||
when: ansible_system == 'Darwin'
|
||||
|
||||
Reference in New Issue
Block a user