mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-12 19:06:39 +08:00
CentOS Stream 8 is now EOL, so it is no longer necessary to sync and grobisplit that content for EPEL 8 Next to build against. https://pagure.io/releng/issue/12147
32 lines
625 B
YAML
32 lines
625 B
YAML
---
|
|
- name: install python packages
|
|
package: name={{ item }} state=present
|
|
with_items:
|
|
- createrepo_c
|
|
- libmodulemd
|
|
- librepo
|
|
- python3-hawkey
|
|
- python3-librepo
|
|
tags:
|
|
- grobi
|
|
|
|
- name: make sure that /usr/local/bin exists
|
|
file: path=/usr/local/bin state=directory
|
|
tags:
|
|
- grobi
|
|
|
|
- name: copy local/bin files
|
|
copy: src={{item}} dest=/usr/local/bin/ mode=0755
|
|
with_items:
|
|
- splitter.py
|
|
- rhel8-split.sh
|
|
tags:
|
|
- grobi
|
|
|
|
- name: daily cron job to split and merge repos
|
|
copy: src={{item}} dest=/etc/cron.d/ mode=0644
|
|
with_items:
|
|
- rhel8-split.cron
|
|
tags:
|
|
- grobi
|