30 lines
826 B
YAML
30 lines
826 B
YAML
# vim: set filetype=yaml.ansible :
|
|
---
|
|
- name: Add aquamarine
|
|
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
|
|
loop: "{{ aquamarine.pkg_deps }}"
|
|
loop_control:
|
|
loop_var: aquamarine_pkg_dep
|
|
vars:
|
|
pkg: "{{ aquamarine_pkg_dep }}"
|
|
ansible.builtin.include_tasks:
|
|
file: "pkgs/{{ aquamarine_pkg_dep }}.yml"
|
|
|
|
- name: Append to pkg_sys
|
|
ansible.builtin.set_fact:
|
|
pkg_sys: "{{ pkg_sys + aquamarine.build_deps }}"
|
|
pkg_src: "{{ pkg_src + ['aquamarine'] }}"
|