ktdreyer.koji_ansible.koji_cg (0.0.450) — module

Create and manage Koji content generators

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

This module can grant or revoke access to a `content generator <https://docs.pagure.org/koji/content_generators/>`_ for a user account.

Your Koji Hub must be version 1.19 or newer in order to use the new `listCGs <https://pagure.io/koji/pull-request/1160>`_ RPC.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Grant a user access to a content generator.
  hosts: localhost
  tasks:
    - name: Grant access to the rcm/debbuild account
      koji_cg:
        name: debian
        user: rcm/debbuild
        state: present

Inputs

    
name:
    description:
    - The name of the Koji content generator.
    - 'Example: "debian".'
    required: true

user:
    description:
    - The name of the Koji user account.
    - This user account must already exist in Koji's database. For example, you may run
      an authenticated "koji hello" command to create the account database entry.
    - 'Example: "cguser".'
    required: true