mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-13 21:34:40 +03:00
Remove legacy tasks that were scheduled for cleanup (#12765)
Signed-off-by: Ali Afsharzadeh <afsharzadeh8@gmail.com>
This commit is contained in:
@@ -432,16 +432,6 @@
|
||||
- files
|
||||
- dns
|
||||
|
||||
# TODO: remove after release 2.29
|
||||
- name: Reset | remove host entries from /etc/hosts
|
||||
blockinfile:
|
||||
path: "/etc/hosts"
|
||||
state: absent
|
||||
marker: "# Ansible inventory hosts {mark}"
|
||||
tags:
|
||||
- files
|
||||
- dns
|
||||
|
||||
- name: Reset | include file with reset tasks specific to the network_plugin if exists
|
||||
include_role:
|
||||
name: "network_plugin/{{ kube_network_plugin }}"
|
||||
|
||||
@@ -6,14 +6,6 @@
|
||||
# -> nothing depending on facts or similar cluster state
|
||||
# Checks depending on current state (of the nodes or the cluster)
|
||||
# should be in roles/kubernetes/preinstall/tasks/0040-verify-settings.yml
|
||||
- name: Stop if removed tags are used
|
||||
assert:
|
||||
msg: The tag 'master' is removed. Use 'control-plane' instead
|
||||
that:
|
||||
- ('master' not in ansible_run_tags)
|
||||
- ('master' not in ansible_skip_tags)
|
||||
# TODO: Remove checks after next release
|
||||
|
||||
- name: Stop if kube_control_plane group is empty
|
||||
assert:
|
||||
that: groups.get( 'kube_control_plane' )
|
||||
|
||||
Reference in New Issue
Block a user