Skip to content

Commit

Permalink
Remove redundant python-apt install
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jasdeep-hundal committed Feb 9, 2018
1 parent f19c8e8 commit f57abae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions roles/kubernetes/preinstall/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,8 @@
tags: bootstrap-os


- name: Install latest version of python-apt for Debian distribs
- name: Update package management cache (APT)
apt:
name: python-apt
state: latest
update_cache: yes
cache_valid_time: 3600
when: ansible_os_family == "Debian"
Expand Down

0 comments on commit f57abae

Please sign in to comment.