From a4f435101317c377c7bb5331e9f2cdd93cbb213a Mon Sep 17 00:00:00 2001 From: Akihiro Motoki Date: Sun, 21 Oct 2018 17:24:21 +0900 Subject: [PATCH] Fix build-openstack-releasenotes by non-existing msgmerge "gettext" command is provided by gettext-base package in Xenial. To make build-openstack-releasenotes work we need to check commands like "msgmerge" provided by gettext package. Change-Id: I6c9f303dd5f284d7df68a4b764b84a05309f6693 --- roles/ensure-sphinx/tasks/main.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/ensure-sphinx/tasks/main.yaml b/roles/ensure-sphinx/tasks/main.yaml index 9b10539fc..ca1392491 100644 --- a/roles/ensure-sphinx/tasks/main.yaml +++ b/roles/ensure-sphinx/tasks/main.yaml @@ -1,5 +1,7 @@ +# NOTE: gettext command is provided by gettext-base package, +# so we need to check a command provided by gettext package. - name: Check for gettext installed - command: bash -c "type gettext" + command: bash -c "type msgmerge" ignore_errors: yes register: gettext_exists