From: David Galloway Date: Wed, 2 Dec 2020 16:16:05 +0000 (-0500) Subject: testnode: Restart cachefilesd in new kernel X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=6c786e5c53db57e4614ece8de050aa4ca2765002;p=ceph-cm-ansible.git testnode: Restart cachefilesd in new kernel Signed-off-by: David Galloway --- diff --git a/roles/testnode/tasks/cachefilesd.yaml b/roles/testnode/tasks/cachefilesd.yaml index 382df59..7101569 100644 --- a/roles/testnode/tasks/cachefilesd.yaml +++ b/roles/testnode/tasks/cachefilesd.yaml @@ -13,3 +13,9 @@ service: name: cachefilesd state: restarted + # 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 }}" + +- name: Restart cachefilesd + shell: systemctl restart cachefilesd + when: "'ceph' in ansible_kernel"