From 2144ac0bbe83ace25c7507a6f07912856c46d4ce Mon Sep 17 00:00:00 2001 From: Daniel Bengtsson Date: Tue, 23 Jun 2020 14:12:42 +0200 Subject: [PATCH] Fix the ANSIBLE_LOG_PATH value. Fix the path in ANSIBLE_LOG_PATH, it should be the path from inside the container. Fix the path in the message for the node_update_failed case. Change-Id: I6bbd74108a78108662e5246d9aebcab2eb5988a2 --- workbooks/package_update.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workbooks/package_update.yaml b/workbooks/package_update.yaml index 8e69c7059..140c877d7 100644 --- a/workbooks/package_update.yaml +++ b/workbooks/package_update.yaml @@ -132,7 +132,7 @@ workflows: - ansible_queue_name: tripleo - module_path: /usr/share/ansible-modules - ansible_extra_env_variables: - ANSIBLE_LOG_PATH: /var/log/containers/mistral/package_update.log + ANSIBLE_LOG_PATH: /var/log/mistral/package_update.log ANSIBLE_HOST_KEY_CHECKING: 'False' - verbosity: 1 - work_dir: /var/lib/mistral @@ -199,7 +199,7 @@ workflows: on-success: send_message publish: status: FAILED - message: Ansible failed, check log at /var/log/mistral/package_update.log. + message: Ansible failed, check log at /var/log/containers/mistral/package_update.log. send_message: workflow: tripleo.messaging.v1.send