Add configurations to playbooks and templates for local repository mirroring. This exports and mounts the CentOS Stream 10 local mirror directory (/srv/nfs/cs10), deploys the Apache configuration serving it from the Hub, and parameters the Koji external repository bootstrap tasks to synchronize target URLs with local mirrors. Co-developed-by: Gemini AI <renich+gemini@woralelandia.com> Signed-off-by: Rénich Bon Ćirić <renich@woralelandia.com>
6 lines
212 B
Django/Jinja
6 lines
212 B
Django/Jinja
{% for host in groups['koji_nodes'] %}
|
|
{{ koji_top_dir }} {{ host }}(rw,sync,no_root_squash)
|
|
{% endfor %}
|
|
{% for host in groups['kojihub'] %}
|
|
{{ koji_mirror_dir }} {{ host }}(rw,sync,no_root_squash)
|
|
{% endfor %}
|