ansible-buildsys-management/adhoc-koji-create-build-tag...

21 lines
578 B
YAML

---
# This playbook is meant to be used with callable variables, like adhoc or AWX.
# What: Creates a simple koji tag. That's it.
- name: Create Koji Tag
hosts: all
become: true
become_user: koji
vars_files:
- "vars/common.yml"
tasks:
- name: "Create tag"
ktdreyer.koji_ansible.koji_tag:
koji: "{{ koji_profile | default(primary_koji_profile) }}"
name: "{{ koji_tag }}"
arches: "{{ arches }}"
state: present
packages: "{{ koji_pkg | default(omit) }}"
groups: "{{ koji_build_groups | default(omit) }}"
...