ktdreyer.koji_ansible.koji_target (0.0.450) — module

Create and manage Koji targets

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, update, and delete targets within Koji.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: create a koji target
  hosts: localhost
  tasks:

    - name: Configure CBS target
      koji_target:
        name: storage7-ceph-nautilus-el7
        build_tag: storage7-ceph-nautilus-el7-build
        dest_tag: storage7-ceph-nautilus-candidate

Inputs

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

dest_tag:
    description:
    - The name of the "destination" tag. When Koji completes a build for this target,
      it will tag that build into this destination tag.
    - 'Example: "f34-updates-candidate"'
    required: true

build_tag:
    description:
    - The name of the "build" or "buildroot" tag. The latest builds in this tag will be
      available in the buildroot when you build an RPM or container for this Koji target.
    - 'Example: "f34-build"'
    required: true