ansible-ops-management/templates/usr/libexec/rocky/rss.sh.j2

13 lines
626 B
Plaintext
Raw Normal View History

2023-09-05 06:44:53 +00:00
#!/bin/bash
TARGET="{{ feeds_output_dir }}"
dnf clean all --enablerepo=\* > /dev/null 2>&1
{% for repo in repo_tracking %}
{% for arch in repo.arch %}
{% for repository in repo.repositories %}
2023-09-18 22:49:43 +00:00
/usr/libexec/rocky/rss.py --filename ${TARGET}/Rocky-Linux-{{ repo.release }}-{{ arch }}-{{ repository }}.xml --link "https://rockylinux.org" --title "Rocky Linux {{ repo.release }} {{ arch }} {{ repository }}" --description "Recently updated packages for Rocky Linux {{ repo.release }} {{ arch }} {{ repository }}" --days 30 rl{{ repo.release }}-{{ arch }}-{{ repository }} > /dev/null 2>&1
2023-09-05 06:44:53 +00:00
{% endfor %}
{% endfor %}
{% endfor %}