]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
container-host: Ignore service restart error on new kernel 599/head
authorDavid Galloway <dgallowa@redhat.com>
Tue, 8 Dec 2020 15:35:28 +0000 (10:35 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 8 Dec 2020 15:35:28 +0000 (10:35 -0500)
Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/container-host/tasks/container_mirror.yml

index d99d1a38bafc7c1a3ae617bcf814963cf1c21a19..89496c251e7ccaf95ee97073c305d317ed9c6bd9 100644 (file)
@@ -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 }}"