From 5b9b0689b69bc3ea04d47cc881ebf8400b4764ac Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Wed, 28 Apr 2021 07:40:32 -0400 Subject: [PATCH] ansible: remove scaleway hosts apt workaround Hosts at scaleway were removed from the inventory so there are no longer any matching hosts. --- .../roles/package-upgrade/tasks/partials/apt.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/ansible/roles/package-upgrade/tasks/partials/apt.yml b/ansible/roles/package-upgrade/tasks/partials/apt.yml index 335931198..70e645573 100644 --- a/ansible/roles/package-upgrade/tasks/partials/apt.yml +++ b/ansible/roles/package-upgrade/tasks/partials/apt.yml @@ -5,16 +5,9 @@ # - name: upgrade installed packages - when: "'scaleway-ubuntu1804-armv7l' not in inventory_hostname" - apt: upgrade=dist update_cache=yes - - # kernel upgrades on the scaleway hosts are dicey - # see https://github.com/scaleway/image-ubuntu/issues/132 for kernel woes -- name: upgrade installed packages (safe) - when: "'scaleway-ubuntu1804-armv7l' in inventory_hostname" - apt: upgrade=safe update_cache=yes - environment: - FLASH_KERNEL_SKIP: true + apt: + update_cache: yes + upgrade: dist - name: clean unwanted packages apt: