Skip to content

Commit

Permalink
Fix new worker node addition
Browse files Browse the repository at this point in the history
Ignore unhold error when packages are not yet installed.
  • Loading branch information
Tassatux committed Sep 30, 2024
1 parent 6e3c0aa commit b94c5f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/packages/tasks/pkg_Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
dest: /etc/apt/preferences.d/{{ item.pkg }}
state: absent
loop: "{{ kube_package_dict|dict2items('pkg', 'version')|rejectattr('version') }}"
ignore_errors: "{{ _kube_repo_just_added is changed or ansible_check_mode }}"

- name: 'Unhold package before upgrade'
dpkg_selections:
Expand Down

0 comments on commit b94c5f3

Please sign in to comment.