diff options
author | 2017-11-21 02:22:14 +0000 | |
---|---|---|
committer | 2017-11-21 02:22:14 +0000 | |
commit | 8c219841bb484370f83f88f3d3f627ee6c3858d0 (patch) | |
tree | cfcb212ca0e8f94dc8ab7357b2d1b844c748460f /deploy/adapters/ansible/kubernetes/roles/kargo/tasks | |
parent | 9e007696a0b06b50068d0229617d5c6e95fdc620 (diff) | |
parent | 5d3229aed36c9038b3f5b6098c1b36abfab25e62 (diff) |
Merge "k8s: add package repo for aarch64"
Diffstat (limited to 'deploy/adapters/ansible/kubernetes/roles/kargo/tasks')
-rw-r--r-- | deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml b/deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml index 16d0b2c0..a40778f5 100644 --- a/deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml +++ b/deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml @@ -21,8 +21,11 @@ - name: configure local mirror repo copy: - src: mirrors.repo + src: "{{ item }}" dest: /etc/yum.repos.d/mirrors.repo + with_first_found: + - mirrors_{{ ansible_architecture }}.repo + - mirrors.repo run_once: "True" - name: clean local pip conf to use official pip repo |