EPEL minor branching: create symlinks as apache user

epel/releng#89

Signed-off-by: Carl George <carlwgeorge@gmail.com>
This commit is contained in:
Carl George 2026-02-25 22:02:32 -06:00 committed by Diego Herrera
commit 59eddc51a8

View file

@ -19,22 +19,31 @@
ansible.builtin.stat:
path: /mnt/koji/compose/updates/epel{{ epel_major }}.{{ epel_branched_minor }}
register: compose_stat
- name: Create compose symlink
become: yes
ansible.builtin.file:
src: "{{ compose_stat.stat.lnk_target }}"
dest: "/mnt/koji/compose/updates/epel{{ epel_major }}.{{ epel_minor }}"
state: link
follow: false
owner: apache
group: apache
- name: Determine current testing compose
ansible.builtin.stat:
path: /mnt/koji/compose/updates/epel{{ epel_major }}.{{ epel_branched_minor }}-testing
register: compose_testing_stat
- name: Create testing compose symlink
become: yes
ansible.builtin.file:
src: "{{ compose_testing_stat.stat.lnk_target }}"
dest: "/mnt/koji/compose/updates/epel{{ epel_major }}.{{ epel_minor }}-testing"
state: link
follow: false
owner: apache
group: apache
- name: Set major-only compose symlink
become: yes
@ -42,6 +51,9 @@
src: epel{{ epel_major }}.{{ epel_minor }}
dest: /mnt/koji/compose/updates/epel{{ epel_major }}
state: link
follow: false
owner: apache
group: apache
- name: Set major-only testing compose symlink
become: yes
@ -49,6 +61,9 @@
src: epel{{ epel_major }}.{{ epel_minor }}-testing
dest: /mnt/koji/compose/updates/epel{{ epel_major }}-testing
state: link
follow: false
owner: apache
group: apache
- name: Create repos for packages
block: