Files
fedora-infra_ansible/roles/grobisplitter/tasks/main.yml
Ryan Lerch 25391e95b7 ansiblelint fixes - fqcn[action-core] - package to ansible.builtin.package
Replaces many references to  package: with ansible.builtin.package

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:28:00 +10:00

32 lines
689 B
YAML

---
- name: Install python packages
ansible.builtin.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
ansible.builtin.file: path=/usr/local/bin state=directory
tags:
- grobi
- name: Copy local/bin files
ansible.builtin.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
ansible.builtin.copy: src={{item}} dest=/etc/cron.d/ mode=0644
with_items:
- rhel8-split.cron
tags:
- grobi