basic installs working

need to run tests on all the builds alone, should use a container system
This commit is contained in:
2026-03-27 22:04:05 -06:00
parent 7f00bb70dc
commit 3a39c083a8
15 changed files with 154 additions and 25 deletions

View File

@@ -15,6 +15,7 @@
- name: Run configure target
when:
- pkg.target.configure is defined
register: make_configure
community.general.make:
chdir: "{{ pkg.path }}"
target: "{{ pkg.target.configure.name }}"
@@ -23,6 +24,7 @@
- name: Run build target
when:
- pkg.target.build is defined
register: make_build
community.general.make:
chdir: "{{ pkg.path }}"
target: "{{ pkg.target.build.name }}"
@@ -41,14 +43,18 @@
loop: "{{ pkg.targets.preinstall }}"
loop_control:
loop_var: target
register: make_preinstall
community.general.make:
chdir: "{{ pkg.path }}"
target: "{{ target.name }}"
params: "{{ target.params | default(omit) }}"
- name: Run install target
become: "{{ install_become }}"
become_user: "{{ install_become_user }}"
when:
- pkg.targets.install is defined
register: make_install
community.general.make:
chdir: "{{ pkg.path }}"
target: "{{ pkg.targets.install.name }}"
@@ -60,6 +66,7 @@
loop: "{{ pkg.targets.postinstall }}"
loop_control:
loop_var: target
register: make_postinstall
community.general.make:
chdir: "{{ pkg.path }}"
target: "{{ target.name }}"