Update
This commit is contained in:
parent
fda522769d
commit
52d4241596
10 changed files with 144 additions and 8 deletions
|
@ -17,7 +17,7 @@
|
|||
state: "directory"
|
||||
|
||||
- name: mirror repo
|
||||
shell: "dnf reposync -a x86_64 --delete --download-metadata --norepopath -p {{ work_path }} --repofrompath={{repoid}},{{ src_url }} --repoid={{repoid}}"
|
||||
shell: "dnf reposync -a x86_64 --delete --download-metadata --norepopath -p {{ work_path }} --repofrompath=x,{{ src_url }} --repoid=x"
|
||||
|
||||
|
||||
|
||||
|
|
23
mirror_repos/cuda_36.yaml
Normal file
23
mirror_repos/cuda_36.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
- name: mirror cuda 36 repo
|
||||
hosts: all
|
||||
become: true
|
||||
gather_facts: true
|
||||
|
||||
vars:
|
||||
repoid: "cuda_36"
|
||||
work_path: "/web/repos/Fedora/AllVersion/{{ repoid }}"
|
||||
src_url: "http://developer.download.nvidia.com/compute/cuda/repos/fedora36/x86_64"
|
||||
|
||||
tasks:
|
||||
|
||||
- name: create directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ work_path }}"
|
||||
state: "directory"
|
||||
|
||||
- name: mirror repo
|
||||
shell: "dnf reposync -a x86_64 --delete --download-metadata --norepopath -p {{ work_path }} --repofrompath=x,{{ src_url }} --repoid=x"
|
||||
|
||||
|
||||
|
23
mirror_repos/cuda_37.yaml
Normal file
23
mirror_repos/cuda_37.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
- name: mirror cuda 37 repo
|
||||
hosts: all
|
||||
become: true
|
||||
gather_facts: true
|
||||
|
||||
vars:
|
||||
repoid: "cuda_37"
|
||||
work_path: "/web/repos/Fedora/AllVersion/{{ repoid }}"
|
||||
src_url: "http://developer.download.nvidia.com/compute/cuda/repos/fedora37/x86_64"
|
||||
|
||||
tasks:
|
||||
|
||||
- name: create directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ work_path }}"
|
||||
state: "directory"
|
||||
|
||||
- name: mirror repo
|
||||
shell: "dnf reposync -a x86_64 --delete --download-metadata --norepopath -p {{ work_path }} --repofrompath=x,{{ src_url }} --repoid=x"
|
||||
|
||||
|
||||
|
22
mirror_repos/docker.yaml
Normal file
22
mirror_repos/docker.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
- name: mirror docker repo
|
||||
hosts: all
|
||||
become: true
|
||||
gather_facts: true
|
||||
|
||||
vars:
|
||||
repoid: "docker"
|
||||
work_path: "/web/repos/Fedora/{{ version }}/{{ repoid }}"
|
||||
src_url: "https://download.docker.com/linux/fedora/{{ version }}/x86_64/stable"
|
||||
|
||||
tasks:
|
||||
- name: create directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ work_path }}"
|
||||
state: "directory"
|
||||
|
||||
- name: mirror repo
|
||||
shell: "dnf reposync -a x86_64 --delete --download-metadata --norepopath -p {{ work_path }} --repofrompath=x,{{ src_url }} --repoid=x"
|
||||
|
||||
|
||||
|
22
mirror_repos/edge.yaml
Normal file
22
mirror_repos/edge.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
- name: mirror edge repo
|
||||
hosts: all
|
||||
become: true
|
||||
gather_facts: true
|
||||
|
||||
vars:
|
||||
repoid: "edge"
|
||||
work_path: "/web/repos/Fedora/AllVersion/{{ repoid }}"
|
||||
src_url: "https://packages.microsoft.com/yumrepos/edge/"
|
||||
|
||||
tasks:
|
||||
- name: create directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ work_path }}"
|
||||
state: "directory"
|
||||
|
||||
- name: mirror repo
|
||||
shell: "dnf reposync -a x86_64 --delete --download-metadata --norepopath -p {{ work_path }} --repofrompath=x,{{ src_url }} --repoid=x"
|
||||
|
||||
|
||||
|
22
mirror_repos/oneAPI.yaml
Normal file
22
mirror_repos/oneAPI.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
- name: mirror intel oneAPI repo
|
||||
hosts: all
|
||||
become: true
|
||||
gather_facts: true
|
||||
|
||||
vars:
|
||||
repoid: "oneAPI"
|
||||
work_path: "/web/repos/Fedora/AllVersion/{{ repoid }}"
|
||||
src_url: "https://yum.repos.intel.com/oneapi"
|
||||
|
||||
tasks:
|
||||
- name: create directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ work_path }}"
|
||||
state: "directory"
|
||||
|
||||
- name: mirror repo
|
||||
shell: "dnf reposync -a x86_64 --delete --download-metadata --norepopath -p {{ work_path }} --repofrompath=x,{{ src_url }} --repoid=x"
|
||||
|
||||
|
||||
|
22
mirror_repos/opera.yaml
Normal file
22
mirror_repos/opera.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
- name: mirror opera repo
|
||||
hosts: all
|
||||
become: true
|
||||
gather_facts: true
|
||||
|
||||
vars:
|
||||
repoid: "opera"
|
||||
work_path: "/web/repos/Fedora/AllVersion/{{ repoid }}"
|
||||
src_url: "https://rpm.opera.com/rpm/"
|
||||
|
||||
tasks:
|
||||
- name: create directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ work_path }}"
|
||||
state: "directory"
|
||||
|
||||
- name: mirror repo
|
||||
shell: "dnf reposync -a x86_64 --delete --download-metadata --norepopath -p {{ work_path }} --repofrompath=x,{{ src_url }} --repoid=x"
|
||||
|
||||
|
||||
|
3
mirror_repos/todo.txt
Normal file
3
mirror_repos/todo.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Broken
|
||||
dnf reposync -a x86_64 --delete --download-metadata --norepopath -p /web/repos/Fedora/AllVersion/google_64 --repofrompath=google_64,http://dl.google.com/linux/chrome/rpm/stable/ --repoid=google_64
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
state: "directory"
|
||||
|
||||
- name: mirror repo
|
||||
shell: "dnf reposync -a x86_64 --delete --download-metadata --norepopath -p {{ work_path }} --repofrompath={{repoid}},{{ src_url }} --repoid={{repoid}}"
|
||||
shell: "dnf reposync -a x86_64 --delete --download-metadata --norepopath -p {{ work_path }} --repofrompath=x,{{ src_url }} --repoid=x"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
|
||||
[Opera]
|
||||
name=Opera
|
||||
baseurl=http://10.10.0.11/repos/Fedora/AllVersion/opera/rpm.opera.com/rpm
|
||||
baseurl=http://10.10.0.11/repos/Fedora/AllVersion/opera
|
||||
enabled=1
|
||||
gpgcheck=0
|
||||
|
||||
|
@ -94,7 +94,7 @@
|
|||
|
||||
[VSCode]
|
||||
name=VS Code
|
||||
baseurl=http://10.10.0.11/repos/Fedora/AllVersion/vscode/packages.microsoft.com/yumrepos/vscode
|
||||
baseurl=http://10.10.0.11/repos/Fedora/AllVersion/vscode
|
||||
enabled=1
|
||||
gpgcheck=0
|
||||
|
||||
|
@ -106,14 +106,13 @@
|
|||
|
||||
[msedge]
|
||||
name=msedge
|
||||
baseurl=http://10.10.0.11/repos/Fedora/AllVersion/edge/packages.microsoft.com/yumrepos/edge
|
||||
baseurl=http://10.10.0.11/repos/Fedora/AllVersion/edge
|
||||
enabled=1
|
||||
gpgcheck=0
|
||||
|
||||
[docker-ce-stable]
|
||||
name=Docker CE Stable - $basearch
|
||||
baseurl=https://download.docker.com/linux/fedora/$releasever/$basearch/stable
|
||||
baseurl=http://10.10.0.11/repos/Fedora/$releasever/docker
|
||||
enabled=0
|
||||
gpgcheck=1
|
||||
gpgkey=https://download.docker.com/linux/fedora/gpg
|
||||
gpgcheck=0
|
||||
|
||||
|
|
Loading…
Reference in a new issue