fix broken packages
- standardize naming of each pkg append - move _configured vars to end of block
This commit is contained in:
@@ -4,17 +4,13 @@
|
||||
when:
|
||||
- aquamarine_configured is undefined
|
||||
block:
|
||||
- name: Set aquamarine_configured
|
||||
ansible.builtin.set_fact:
|
||||
aquamarine_configured: true
|
||||
|
||||
- name: Load aquamarine config
|
||||
when:
|
||||
- aquamarine is undefined
|
||||
ansible.builtin.include_tasks:
|
||||
file: config/aquamarine.yml
|
||||
|
||||
- name: Ensure pkg_deps are added
|
||||
- name: Append aquamarine pkg_deps
|
||||
loop: "{{ aquamarine.pkg_deps }}"
|
||||
loop_control:
|
||||
loop_var: aquamarine_pkg_dep
|
||||
@@ -23,7 +19,11 @@
|
||||
ansible.builtin.include_tasks:
|
||||
file: "pkgs/{{ aquamarine_pkg_dep }}.yml"
|
||||
|
||||
- name: Append to pkg_sys
|
||||
- name: Append aquamarine to pkg_sys and pkg_src
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + aquamarine.build_deps }}"
|
||||
pkg_src: "{{ pkg_src + ['aquamarine'] }}"
|
||||
|
||||
- name: Set aquamarine_configured
|
||||
ansible.builtin.set_fact:
|
||||
aquamarine_configured: true
|
||||
|
||||
Reference in New Issue
Block a user