mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-16 13:56:03 +08:00
copr-hypervisor: don't operate with main.ini
The commit a12c6d9396 wasn't enough, there
are other undefined variables.
This commit is contained in:
@@ -1,6 +1 @@
|
||||
---
|
||||
# Because we prepare golden images for copr builders on Copr vmhosts, we need to
|
||||
# have "provision configuration" done there, too (otherwise typically needed on
|
||||
# backend, where we start and provision the builders). The frontend_base_url is
|
||||
# by accident needed to properly instantiate the provision templates.
|
||||
frontend_base_url: "https://copr.fedorainfracloud.org"
|
||||
|
||||
@@ -162,6 +162,9 @@
|
||||
|
||||
- name: put copr-rpmbuild configuration file in the right place
|
||||
copy: src=files/main.ini dest=/etc/copr-rpmbuild/main.ini
|
||||
when:
|
||||
# TODO: use the default main.ini provided by copr-rpmbuild
|
||||
- prepare_base_image is not defined
|
||||
|
||||
- name: mockbuilder user
|
||||
user: name=mockbuilder groups=mock
|
||||
|
||||
@@ -74,6 +74,8 @@
|
||||
tags:
|
||||
- provision_config
|
||||
- copr_rpmbuild_main_ini
|
||||
when:
|
||||
when: "'copr_hypervisor' not in group_names"
|
||||
|
||||
- name: put rpkg configuration file into the provision subdir
|
||||
template: src="{{ roles_path }}/copr/backend/templates/provision/rpkg.conf.j2"
|
||||
|
||||
Reference in New Issue
Block a user