mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 16:28:45 -03:30
Remove redundant python-apt install
Ansible automatically installs the python-apt package when using the 'apt' Ansible module, if python-apt is not present. This patch removes the (unneeded) explicit installation in the Kubespray 'preinstall' role.
This commit is contained in:
@@ -147,10 +147,8 @@
|
|||||||
tags: bootstrap-os
|
tags: bootstrap-os
|
||||||
|
|
||||||
|
|
||||||
- name: Install latest version of python-apt for Debian distribs
|
- name: Update package management cache (APT)
|
||||||
apt:
|
apt:
|
||||||
name: python-apt
|
|
||||||
state: latest
|
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
cache_valid_time: 3600
|
cache_valid_time: 3600
|
||||||
when: ansible_os_family == "Debian"
|
when: ansible_os_family == "Debian"
|
||||||
|
|||||||
Reference in New Issue
Block a user