move a lot of configuration around

This commit is contained in:
Matthew Stobbs
2025-02-11 20:22:42 -07:00
parent 275f5df722
commit 6d52cc6a4d
33 changed files with 180 additions and 117 deletions

View File

@@ -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