You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
---
|
|
|
|
- name: Install dependencies
|
|
|
|
ansible.builtin.dnf:
|
|
|
|
name:
|
|
|
|
- git
|
|
|
|
- python3-cryptography
|
|
|
|
state: present
|
|
|
|
|
|
|
|
- name: Upload and unarchive koji-tools tarball if exists
|
|
|
|
ansible.builtin.unarchive:
|
|
|
|
src: "koji-tools-{{ koji_tools_git_ref }}.tar.gz"
|
|
|
|
dest: /usr/local
|
|
|
|
remote_src: "{{ ansible_connection != 'local' }}"
|
|
|
|
register: koji_tools_upload
|
|
|
|
ignore_errors: true
|
|
|
|
|
|
|
|
- name: Clone koji-tools git repository
|
|
|
|
ansible.builtin.git:
|
|
|
|
repo: 'https://pagure.io/koji-tools.git'
|
|
|
|
dest: /usr/local/koji-tools
|
|
|
|
version: "{{ koji_tools_git_ref }}"
|
|
|
|
when: koji_tools_upload.failed
|