mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-05 18:51:13 -03:30
Move back iproute install to system_packages
Packages are now installed before network facts collection, so we can install iproute with the rest.
This commit is contained in:
@@ -83,15 +83,3 @@
|
||||
- apparmor-parser
|
||||
state: present
|
||||
become: true
|
||||
|
||||
# iproute2 is required for networking related facts gathering
|
||||
# See https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_vars_facts.html#package-requirements-for-fact-gathering
|
||||
# Note: It is not recommended way, but since the tasks execution order, put it here is the simplest way so far. We can move it to a proper place later.
|
||||
# TODO: move this to roles/kubernetes/preinstall/vars/main.yml -> pkgs variables
|
||||
# Currently not possible because the collect the network facts before that step, needs reordering of the exec flow.
|
||||
- name: Ensure iproute2 is installed
|
||||
community.general.zypper:
|
||||
name: iproute2
|
||||
state: present
|
||||
update_cache: true
|
||||
become: true
|
||||
|
||||
Reference in New Issue
Block a user