From a7fcdb9aee3d6656fc9987a55b6a86ecd4e94bff Mon Sep 17 00:00:00 2001 From: Adam Miller Date: Wed, 7 Dec 2016 15:10:57 +0000 Subject: [PATCH] add fedora:latest to required docker images, don't hardlink repofile but copy it Signed-off-by: Adam Miller --- inventory/group_vars/all | 1 + playbooks/groups/osbs-cluster.yml | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/inventory/group_vars/all b/inventory/group_vars/all index e3fd9f5b5f..9d77281c9e 100644 --- a/inventory/group_vars/all +++ b/inventory/group_vars/all @@ -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 diff --git a/playbooks/groups/osbs-cluster.yml b/playbooks/groups/osbs-cluster.yml index a1fbf39cab..a1bfa0ffeb 100644 --- a/playbooks/groups/osbs-cluster.yml +++ b/playbooks/groups/osbs-cluster.yml @@ -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