feat(repo): deploy DNF mxos.repo configuration file on repo server
Provide a downloadable DNF repo configuration file at http://cs10-repo.mx-os/mxos.repo that points to our CentOS Stream 10 BaseOS structured layout (binary, debug, and source packages). 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
8ca23088f4
commit
78fb60f6bf
2 changed files with 25 additions and 0 deletions
|
|
@ -17,6 +17,14 @@
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
|
|
||||||
|
- name: Deploy mxos.repo file
|
||||||
|
ansible.builtin.template:
|
||||||
|
src: mxos.repo.j2
|
||||||
|
dest: /srv/www/repo/mxos.repo
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: '0644'
|
||||||
|
|
||||||
- name: Deploy Caddyfile
|
- name: Deploy Caddyfile
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: Caddyfile.j2
|
src: Caddyfile.j2
|
||||||
|
|
|
||||||
17
roles/caddy/templates/mxos.repo.j2
Normal file
17
roles/caddy/templates/mxos.repo.j2
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
[mxos-baseos]
|
||||||
|
name=MxOS CentOS Stream 10 BaseOS
|
||||||
|
baseurl=http://cs10-repo.mx-os/BaseOS/$basearch/os/
|
||||||
|
enabled=1
|
||||||
|
gpgcheck=0
|
||||||
|
|
||||||
|
[mxos-baseos-debuginfo]
|
||||||
|
name=MxOS CentOS Stream 10 BaseOS Debuginfo
|
||||||
|
baseurl=http://cs10-repo.mx-os/BaseOS/$basearch/debug/tree/
|
||||||
|
enabled=0
|
||||||
|
gpgcheck=0
|
||||||
|
|
||||||
|
[mxos-baseos-source]
|
||||||
|
name=MxOS CentOS Stream 10 BaseOS Source
|
||||||
|
baseurl=http://cs10-repo.mx-os/BaseOS/source/tree/
|
||||||
|
enabled=0
|
||||||
|
gpgcheck=0
|
||||||
Loading…
Reference in a new issue