ktdreyer / ktdreyer.koji_ansible / 0.0.450 / module / koji_cg Create and manage Koji content generators Authors: unknown preview | supported by communityktdreyer.koji_ansible.koji_cg (0.0.450) — module
Install with ansible-galaxy collection install ktdreyer.koji_ansible:==0.0.450
collections: - name: ktdreyer.koji_ansible version: 0.0.450
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.
- 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
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