modified make, fixed packages and vars

- the make helper now has distinct build stages
  - configure: is now defined in pkg.targets.configure
  - build: is now defined in pkg.targets.build
  - install: is now defined in pkg.targets.install
  - added pre-install: which is a list of targets that are looped over
before install
  - added post-instal: which is a list of targets that are looped over
after install

- removed major package level variables from vars/main.yml
  - moving those variables into actual package level variables as
defaults
  - if the values are defined they will be used instead of defaults
This commit is contained in:
Matthew Stobbs
2026-03-19 13:39:26 -06:00
parent ac0ac25bba
commit d1d556d425
10 changed files with 211 additions and 76 deletions

View File

@@ -1,5 +1,11 @@
# vim: set filetype=yaml.ansible :
---
- name: Set git default facts # {{{
ansible.builtin.set_fact:
git:
install_methods:
- system
# }}}
- name: Configure git
when:
- "'git' not in __configured"