From 752592f1b03c690303fe66d41c533431e36dc746 Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Thu, 20 Jun 2024 18:24:53 +0200 Subject: systemd: Add kolla.target This should ease the operation of stopping/starting all Kolla containers. Change-Id: I30915409510a4eb3e501e624b864b5ef48f85c75 --- ansible/module_utils/kolla_systemd_worker.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ansible/module_utils') diff --git a/ansible/module_utils/kolla_systemd_worker.py b/ansible/module_utils/kolla_systemd_worker.py index b807d2a92..a85eb8f23 100644 --- a/ansible/module_utils/kolla_systemd_worker.py +++ b/ansible/module_utils/kolla_systemd_worker.py @@ -24,6 +24,7 @@ TEMPLATE = '''# ${service_name} Description=${engine} ${service_name} After=${deps} Wants=${deps} +PartOf=kolla.target StartLimitInterval=${restart_timeout} StartLimitBurst=${restart_retries} -- cgit v1.2.3