From 10a2a2970aa6fdcf493ab3b6725a1ee64d00feab Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Thu, 9 Jul 2020 07:51:43 -0400 Subject: [PATCH] container_systemd: improve logging Change the wording when a container will be added to the list of containers that will be restarted, so it's not confusing. Change-Id: Ieb50138b5c1d35fa3c59dd368a58c1af3f61807b (cherry picked from commit 32bc4a463908fdb8e7f9050db28215d0f498e824) --- tripleo_ansible/ansible_plugins/action/container_systemd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tripleo_ansible/ansible_plugins/action/container_systemd.py b/tripleo_ansible/ansible_plugins/action/container_systemd.py index e35581c48..4c2b004f4 100644 --- a/tripleo_ansible/ansible_plugins/action/container_systemd.py +++ b/tripleo_ansible/ansible_plugins/action/container_systemd.py @@ -338,8 +338,8 @@ class ActionModule(ActionBase): ) if service_stat.get('stat', {}).get('exists', False): if self.debug: - DISPLAY.display('Systemd unit file found for {}, the ' - 'container will be restarted'.format(c)) + DISPLAY.display('This container will be ' + 'restarted: {}'.format(c)) extra_restarts.append(c) container_names = []