Files
fedora-infra_ansible/roles/repo2json/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

27 lines
766 B
YAML

---
# Configuration for the fedocal webapp
- name: Install necessary packages
ansible.builtin.package: name={{ item }} state=present update_cache=yes
with_items:
- python-sqlalchemy0.7
- pyliblzma
tags:
- packages
- repo2json
- name: Ensure that the output dir exists
ansible.builtin.file: dest=/srv/web/repo/json owner=root group=root mode=0755 state=directory
tags:
- repo2json
- name: Install the rhel_to_json script and cron
ansible.builtin.copy: src={{ item.file }} dest={{ item.dest }}
owner=root group=root mode={{ item.mode }}
with_items:
- { file: rhel_to_json.py, dest: /usr/bin/local/rhel_to_json.py, mode: 755 }
- { file: repo2json.cron, dest: /etc/cron.d/repo2json.cron, mode: 644 }
tags:
- cron
- repo2json