Files
fedora-infra_ansible/playbooks/groups/buildvm.yml

31 lines
721 B
YAML

# create a new koji builder
# NOTE: should be used with --limit most of the time
# NOTE: make sure there is room/space for this builder on the buildvmhost
# NOTE: most of these vars come from group_vars/buildvm or from hostvars
- name: make koji builder(s)
hosts: buildvm
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- ${private}/vars.yml
- ${vars}/${ansible_distribution}.yml
tasks:
- include: $tasks/virt_instance_create.yml
- include: $tasks/koji/base_builder.yml
- include: $tasks/koji/builder_kernel_config.yml
handlers:
- include: $handlers/restart_services.yml
- name: restart kojid
action: service name=kojid state=restarted