This commit is contained in:
David Rotermund 2024-04-19 01:48:17 +02:00
parent 4bde171078
commit 67bf61df5a
5 changed files with 123 additions and 0 deletions

View file

@ -0,0 +1,25 @@
---
- name: mirror fusion free repo
hosts: all
become: true
gather_facts: true
vars:
work_path: "fusion_free"
src_url: "rsync://mirror1.hs-esslingen.de/rpmfusion/free/fedora/updates/{{ version }}/x86_64/"
tasks:
- name: create directory
ansible.builtin.file:
path: "{{ base_path }}/{{ version }}/{{ work_path }}"
state: "directory"
- name: syncronize
ansible.posix.synchronize:
dest: "{{ base_path }}/{{ version }}/{{ work_path }}"
src: "{{ src_url }}"
delete: "true"
delegate_to: "{{ inventory_hostname }}"

View file

@ -0,0 +1,25 @@
---
- name: mirror fusion free repo
hosts: all
become: true
gather_facts: true
vars:
work_path: "fusion_free2"
src_url: "rsync://mirror1.hs-esslingen.de/rpmfusion/free/fedora/releases/{{ version }}/Everything/x86_64/"
tasks:
- name: create directory
ansible.builtin.file:
path: "{{ base_path }}/{{ version }}/{{ work_path }}"
state: "directory"
- name: syncronize
ansible.posix.synchronize:
dest: "{{ base_path }}/{{ version }}/{{ work_path }}"
src: "{{ src_url }}"
delete: "true"
delegate_to: "{{ inventory_hostname }}"

View file

@ -0,0 +1,25 @@
---
- name: mirror fusion free repo
hosts: all
become: true
gather_facts: true
vars:
work_path: "fusion_nonfree"
src_url: "rsync://mirror1.hs-esslingen.de/rpmfusion/nonfree/fedora/updates/{{ version }}/x86_64/"
tasks:
- name: create directory
ansible.builtin.file:
path: "{{ base_path }}/{{ version }}/{{ work_path }}"
state: "directory"
- name: syncronize
ansible.posix.synchronize:
dest: "{{ base_path }}/{{ version }}/{{ work_path }}"
src: "{{ src_url }}"
delete: "true"
delegate_to: "{{ inventory_hostname }}"

View file

@ -0,0 +1,24 @@
---
- name: mirror fusion free repo
hosts: all
become: true
gather_facts: true
vars:
work_path: "fusion_nonfree2"
src_url: "rsync://mirror1.hs-esslingen.de/rpmfusion/nonfree/fedora/releases/{{ version }}/Everything/x86_64/"
tasks:
- name: create directory
ansible.builtin.file:
path: "{{ base_path }}/{{ version }}/{{ work_path }}"
state: "directory"
- name: syncronize
ansible.posix.synchronize:
dest: "{{ base_path }}/{{ version }}/{{ work_path }}"
src: "{{ src_url }}"
delete: "true"
delegate_to: "{{ inventory_hostname }}"

View file

@ -0,0 +1,24 @@
---
- name: mirror fusion free repo
hosts: all
become: true
gather_facts: true
vars:
work_path: "fusion_nonfree_nvidia"
src_url: "rsync://mirror1.hs-esslingen.de/rpmfusion/nonfree/fedora/nvidia-driver/{{ version }}/x86_64/"
tasks:
- name: create directory
ansible.builtin.file:
path: "{{ base_path }}/{{ version }}/{{ work_path }}"
state: "directory"
- name: syncronize
ansible.posix.synchronize:
dest: "{{ base_path }}/{{ version }}/{{ work_path }}"
src: "{{ src_url }}"
delete: "true"
delegate_to: "{{ inventory_hostname }}"