From bd968b5c67cb2abe3318b740014b83d146123c16 Mon Sep 17 00:00:00 2001 From: David Galloway Date: Tue, 8 Dec 2020 10:35:28 -0500 Subject: [PATCH] container-host: Ignore service restart error on new kernel Signed-off-by: David Galloway --- roles/container-host/tasks/container_mirror.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/container-host/tasks/container_mirror.yml b/roles/container-host/tasks/container_mirror.yml index d99d1a3..89496c2 100644 --- a/roles/container-host/tasks/container_mirror.yml +++ b/roles/container-host/tasks/container_mirror.yml @@ -42,3 +42,5 @@ name: docker state: restarted when: "'docker.io' in container_packages" + # There's an issue with ansible<=2.9 and our custom built kernels (5.8 as of this commit) where the service and systemd modules don't have backwards compatibility with init scripts + ignore_errors: "{{ 'ceph' in ansible_kernel }}" -- 2.39.5