ktdreyer.koji_ansible.koji_external_repo (0.0.450) — module

Create and manage Koji external repos

Authors: unknown

preview | supported by community

Install collection

Install with ansible-galaxy collection install ktdreyer.koji_ansible:==0.0.450


Add to requirements.yml

  collections:
    - name: ktdreyer.koji_ansible
      version: 0.0.450

Description

Create and manage Koji external repos


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: create a koji tag with an external repo.
  hosts: localhost
  tasks:
    - name: Create an external repo for CentOS "CR"
      koji_external_repo:
        name: centos7-cr
        url: http://mirror.centos.org/centos/7/cr/$arch/
        state: present

    - name: Create a koji tag that uses the CentOS CR repo
      koji_tag:
        name: storage7-ceph-nautilus-el7-build
        state: present
        external_repos:
        - repo: centos7-cr
          priority: 5

Inputs

    
url:
    description:
    - The URL to the Koji external repo.
    - Note, this uses "$arch", not the common "$basearch" you may find in a typical Yum
      repository file.
    - For idempotency, please ensure your url always ends with a "/" character. If you
      leave it out, Koji Hub will automatically add a "/" slash when storing this value
      in the database, and every subsequent Ansible run will appear to be "changing" the
      external repo's URL.
    required: true

name:
    description:
    - The name of the Koji external repo to create and manage.
    required: true