diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-01-12 23:53:40 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-01-12 23:54:01 +0100 |
commit | 6ff0f56c468fc0311cee3bd213de6ce8663fbeb7 (patch) | |
tree | 312beb0595853a1de8d3336499a621fca5454f15 /roles/kubernetes/kubeadm/base | |
parent | switch to new kubernetes apt repo (diff) |
fix kubernetes roles to accomodate new package naming convention
Diffstat (limited to 'roles/kubernetes/kubeadm/base')
-rw-r--r-- | roles/kubernetes/kubeadm/base/tasks/main.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/kubernetes/kubeadm/base/tasks/main.yml b/roles/kubernetes/kubeadm/base/tasks/main.yml index e339fbcb..1e5ef920 100644 --- a/roles/kubernetes/kubeadm/base/tasks/main.yml +++ b/roles/kubernetes/kubeadm/base/tasks/main.yml @@ -7,7 +7,7 @@ dest: "/etc/apt/preferences.d/{{ item }}.pref" content: | Package: {{ item }} - Pin: version {{ kubernetes_version }}-00 + Pin: version {{ kubernetes_version }}-* Pin-Priority: 1001 - name: install kubeadm packages @@ -15,8 +15,8 @@ name: - haproxy - hatop - - "kubeadm={{ kubernetes_version }}-00" - - "kubectl={{ kubernetes_version }}-00" + - "kubeadm={{ kubernetes_version }}-*" + - "kubectl={{ kubernetes_version }}-*" state: present allow_downgrade: yes |