feat: automate CentOS Stream 10 repository mirroring setup
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>
This commit is contained in:
parent
bafaa0e840
commit
be9438afdf
7 changed files with 72 additions and 2 deletions
|
|
@ -197,6 +197,15 @@
|
|||
- { src: "99-local-policies.conf.j2", dest: "{{ koji_hub_config_dir }}/99-local-policies.conf" }
|
||||
notify: Restart httpd
|
||||
|
||||
- name: Deploy Apache configuration for CentOS 10 mirror
|
||||
ansible.builtin.template:
|
||||
src: centos10.conf.j2
|
||||
dest: /etc/httpd/conf.d/centos10.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
notify: Restart httpd
|
||||
|
||||
- name: Set SELinux booleans for Apache
|
||||
ansible.posix.seboolean:
|
||||
name: "{{ item }}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue