From d44eec0a2912ca17d5ac93311d0c56682bf3e6c4 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Fri, 20 Dec 2024 15:52:11 +0100 Subject: [PATCH] Fix playbook stopping wrong services Similar fix to #1073. --- etc/kayobe/ansible/stop-openstack-services.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/kayobe/ansible/stop-openstack-services.yml b/etc/kayobe/ansible/stop-openstack-services.yml index 35f26c044..86ddf3cf4 100644 --- a/etc/kayobe/ansible/stop-openstack-services.yml +++ b/etc/kayobe/ansible/stop-openstack-services.yml @@ -26,4 +26,4 @@ tasks: - name: Stop OpenStack services shell: >- - systemctl -a | egrep '({{ stop_service_list | join('|') }})' | awk '{ print $1 }' | xargs systemctl stop + systemctl -a | egrep 'kolla-({{ stop_service_list | join('|') }})' | awk '{ print $1 }' | xargs systemctl stop