mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-03 05:35:45 +08:00
add fedora:latest to required docker images, don't hardlink repofile but copy it
Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
@@ -203,6 +203,7 @@ openshift_required_images:
|
||||
fedora_required_images:
|
||||
- "fedora:24"
|
||||
- "fedora:25"
|
||||
- "fedora:latest"
|
||||
|
||||
#
|
||||
# say if we want the apache role dependency for mod_wsgi or not
|
||||
|
||||
@@ -545,17 +545,17 @@
|
||||
path: "/etc/osbs/buildroot/infrastructure.repo"
|
||||
register: etcosbs_infra_repo_stat
|
||||
|
||||
- name: remove old hardlink to /etc/osbs/buildroot/ infra repofile
|
||||
- name: remove old /etc/osbs/buildroot/ infra repofile
|
||||
file:
|
||||
path: "/etc/osbs/buildroot/infrastructure.repo"
|
||||
state: absent
|
||||
when: etcosbs_infra_repo_stat.stat.exists and infra_repo_stat.stat.checksum != etcosbs_infra_repo_stat.stat.checksum
|
||||
|
||||
- name: Hardlink repofile for buildroot container (because Docker)
|
||||
file:
|
||||
- name: Copy repofile for buildroot container (because Docker)
|
||||
copy:
|
||||
src: "/etc/yum.repos.d/infrastructure.repo"
|
||||
dest: "/etc/osbs/buildroot/infrastructure.repo"
|
||||
state: hard
|
||||
remote_src: true
|
||||
notify:
|
||||
- buildroot container
|
||||
when: etcosbs_infra_repo_stat.stat.exists == false
|
||||
|
||||
Reference in New Issue
Block a user