Don't load systemd parent service for object cache

We use the systemd_service role to load a drop-in for all
services which fall under the 'ceph-immutable-object-store'
banner, but this isn't a service in its own right.

Attempting to load the service on Ubuntu Jammy results in
an error, so we prevent loading it, and leave enabling of the
individual service up to an existing later task.

Change-Id: If9c46d22f42bc3765b217b0fbc736331bf337557
(cherry picked from commit 2bb6cdf481)
This commit is contained in:
Andrew Bonney 2024-02-12 13:51:03 +00:00 committed by Dmitriy Rabotyagov
parent 65de5655e7
commit cf6d6f6b2a
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@
systemd_services:
- service_name: "{{ ceph_immutable_object_cache_service_name }}"
systemd_overrides_only: true
load: false
systemd_overrides:
Service:
UMask: "{{ ceph_immutable_object_cache_umask }}"