Skip to content

Commit

Permalink
Merge pull request #84 from TechDufus/k8s/better_hold
Browse files Browse the repository at this point in the history
k8s/better hold
  • Loading branch information
TechDufus authored Jan 16, 2024
2 parents 72fdc1e + ae92807 commit 0260f6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
9 changes: 1 addition & 8 deletions group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ default_roles:
- git
- go
- helm
# - k8s # This is removed until a better kube config mgmt solution is found
- k8s
- k9s
- lua
- nala
Expand Down Expand Up @@ -71,13 +71,6 @@ bash_private:
k8s:
package_versions:
USA-X8026373:
- name: kubectl
version: 1.25.3-00
- name: kubelet
version: 1.25.3-00
- name: kubeadm
version: 1.25.3-00
default:
- name: kubectl
- name: kubelet
Expand Down
1 change: 1 addition & 0 deletions roles/k8s/tasks/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
selection: hold
become: true
loop: "{{ k8s.package_versions[ansible_hostname] | default(k8s.package_versions.default) }}"
when: item.version is defined

# - name: K8s | Configure .kube/config
# block:
Expand Down

0 comments on commit 0260f6f

Please sign in to comment.