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

18 lines
438 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 }}"
state: present
...