copr-builder: setup the hostname to self-identify

This commit is contained in:
Pavel Raiskup 2022-01-05 15:41:14 +01:00
parent 408a990a24
commit 1fdf2df492

View file

@ -1,3 +1,8 @@
---
- name: setup the hostname so we can easily identify the box
hostname: "{{ lookup('env', 'RESALLOC_NAME') | default('unknown-builder') }}"
when: prepare_base_image is not defined
- name: put infra repos into yum.repos.d
copy: src=files/dnf/infra-tags.repo dest=/etc/yum.repos.d
when: