mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-01 14:02:12 +08:00
Replaces many references to package: with ansible.builtin.package Signed-off-by: Ryan Lerch <rlerch@redhat.com>
32 lines
689 B
YAML
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
|