Skip to content

Commit

Permalink
fixing k8s defaults for non-specified pcs
Browse files Browse the repository at this point in the history
  • Loading branch information
TechDufus committed Sep 22, 2023
1 parent e39ce9b commit c70c429
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/k8s/tasks/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
state: present
force: true
become: true
loop: "{{ k8s.package_versions[ansible_hostname] | default(default) }}"
loop: "{{ k8s.package_versions[ansible_hostname] | default(k8s.package_versions.default) }}"

- name: K8s | Preventing unintended upgrades
ansible.builtin.dpkg_selections:
name: "{{ item.name }}"
selection: hold
become: true
loop: "{{ k8s.package_versions[ansible_hostname] | default(default) }}"
loop: "{{ k8s.package_versions[ansible_hostname] | default(k8s.package_versions.default) }}"

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

0 comments on commit c70c429

Please sign in to comment.