diff --git a/roles/copr/backend/files/provision/builderpb_nova.yml b/roles/copr/backend/files/provision/builderpb_nova.yml index 8d259c5dfc..814df7b161 100644 --- a/roles/copr/backend/files/provision/builderpb_nova.yml +++ b/roles/copr/backend/files/provision/builderpb_nova.yml @@ -40,7 +40,6 @@ vars: # pass this options if you need to create new base image from snapshot #prepare_base_image: True - env: {{ env }} tasks: - include: "provision_builder_tasks.yml" diff --git a/roles/copr/backend/files/provision/provision_builder_tasks.yml b/roles/copr/backend/files/provision/provision_builder_tasks.yml index e772b66a9f..c9054d686e 100644 --- a/roles/copr/backend/files/provision/provision_builder_tasks.yml +++ b/roles/copr/backend/files/provision/provision_builder_tasks.yml @@ -3,7 +3,7 @@ - name: put infra stg repos into yum.repos.d if staging copy: src=files/dnf/infra-tags-stg.repo dest=/etc/yum.repos.d - when: env == "staging" + when: ansible_hostname == "copr-be-dev" - name: disable updates-testing file: