瀏覽代碼

Update centos_repos.yml

I wonder how it worked, because for 3.10 and 3.11 it generates `CentOS-OpenShift-Origin31.repo.j2` string.
Jakub 6 年之前
父節點
當前提交
eb6f54b64c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      roles/openshift_repos/tasks/centos_repos.yml

+ 1 - 1
roles/openshift_repos/tasks/centos_repos.yml

@@ -19,6 +19,6 @@
     src: "{{ item }}"
     dest: "/etc/yum.repos.d/{{ (item | basename | splitext)[0] }}"
   with_first_found:
-    - "CentOS-OpenShift-Origin{{ ((openshift_version | default('')).split('.') | join(''))[0:2] }}.repo.j2"
+    - "CentOS-OpenShift-Origin{{ ((openshift_version | default('')).split('.') | join(''))[0:3] }}.repo.j2"
     - "CentOS-OpenShift-Origin.repo.j2"
   notify: refresh cache