Accounting for unifi repo changes

This commit is contained in:
2025-10-28 01:04:53 +00:00
parent 9fb8c8b153
commit e12b5974c2
4 changed files with 12 additions and 2 deletions

0
group_vars/vault.yml Normal file
View File

0
keys/private.key.vault Normal file
View File

0
keys/public.key Normal file
View File

View File

@@ -5,13 +5,23 @@
become_method: sudo
become_user: root
tasks:
- name: Update apt cache
- name: Update apt cache (tolerate repo codename changes)
apt:
update_cache: yes
cache_valid_time: 3600
environment:
APT::Get::AllowReleaseInfoChange: "true"
APT::Get::AllowReleaseInfoChange::Origin: "true"
APT::Get::AllowReleaseInfoChange::Suite: "true"
APT::Get::AllowReleaseInfoChange::Codename: "true"
- name: Upgrade all packages
- name: Upgrade all packages (tolerate repo codename changes)
apt:
upgrade: dist
autoremove: yes
autoclean: yes
environment:
APT::Get::AllowReleaseInfoChange: "true"
APT::Get::AllowReleaseInfoChange::Origin: "true"
APT::Get::AllowReleaseInfoChange::Suite: "true"
APT::Get::AllowReleaseInfoChange::Codename: "true"