Don't install phased package updates with apt
Newer apt supports phased updates. These updates mean a subset of servers will pull newly available packages. There are potentially good reasons for this like A/B testing and spreading out load for package updates. The problem is that it can create confusing situations when packages are not consistent when we expect them to be. Avoid this confusion by always installing the latest available packages. Change-Id: I995070823bc2456547ba9d2023d3de7e5d9b6810
This commit is contained in:
parent
bfdc69b90e
commit
99d3b3e966
1
playbooks/roles/base/repos/files/95phased-updates
Normal file
1
playbooks/roles/base/repos/files/95phased-updates
Normal file
@ -0,0 +1 @@
|
||||
APT::Get::Always-Include-Phased-Updates "true";
|
@ -20,6 +20,12 @@
|
||||
src: 90no-translations
|
||||
dest: /etc/apt/apt.conf.d/90no-translations
|
||||
|
||||
- name: Always install latest packages
|
||||
copy:
|
||||
mode: 0444
|
||||
src: 95phased-updates
|
||||
dest: /etc/apt/apt.conf.d/95phased-updates
|
||||
|
||||
- name: Replace sources.list file
|
||||
copy:
|
||||
src: 'sources.list.{{ ansible_facts.lsb.codename }}.{{ ansible_facts.architecture }}'
|
||||
|
Loading…
Reference in New Issue
Block a user