move a lot of configuration around
This commit is contained in:
@@ -1,5 +1,24 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
- name: Set installation facts
|
||||
ansible.builtin.set_fact:
|
||||
paths: "{% if use_local %}{{ localpaths }}{% else %}{{ syspaths }}{% endif %}"
|
||||
appimages: [] # appimages to install
|
||||
cargopkgs: [] # rust packages from cargo
|
||||
cargoversioned: [] # versioned rust packages from cargo
|
||||
caskpkgs: [] # homebrew casks
|
||||
flatpkgs: [] # flatpaks
|
||||
gopkgs: [] # go applications
|
||||
npmpkgs: [] # npm commands
|
||||
pipxpkgs: [] # pipx packages
|
||||
srcpkgs: [] # packages built from source
|
||||
syspkgs: [] # system package manager packages
|
||||
tappkgs: [] # homebrew tap packages
|
||||
brewtaps: [] # homebrew taps
|
||||
fpremotes: # flatpak remotes
|
||||
- name: flathub
|
||||
url: https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
|
||||
- name: Determine OS and set facts for it
|
||||
block:
|
||||
- name: Set macOS facts
|
||||
@@ -125,7 +144,7 @@
|
||||
|
||||
- name: Install srcpkgs
|
||||
ansible.builtin.include_tasks:
|
||||
file: "build/{{ srcpkg }}.yml"
|
||||
file: "src/{{ srcpkg }}.yml"
|
||||
loop: "{{ srcpkgs | unique }}"
|
||||
loop_control:
|
||||
loop_var: srcpkg
|
||||
|
||||
Reference in New Issue
Block a user