summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkihiro Motoki <amotoki@gmail.com>2018-10-21 17:24:21 +0900
committerAkihiro Motoki <amotoki@gmail.com>2018-10-21 17:28:21 +0900
commita4f435101317c377c7bb5331e9f2cdd93cbb213a (patch)
tree18ae27f00cd175939fbcc414e493698a6416d4de
parent346dfe8d6874ab6f0e26109a52ca4664df106eed (diff)
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
Notes
Notes (review): Code-Review+2: Andreas Jaeger <jaegerandi@gmail.com> Code-Review+2: Monty Taylor <mordred@inaugust.com> Workflow+1: Monty Taylor <mordred@inaugust.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Sun, 21 Oct 2018 15:08:59 +0000 Reviewed-on: https://review.openstack.org/612149 Project: openstack-infra/zuul-jobs Branch: refs/heads/master
-rw-r--r--roles/ensure-sphinx/tasks/main.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/ensure-sphinx/tasks/main.yaml b/roles/ensure-sphinx/tasks/main.yaml
index 9b10539..ca13924 100644
--- a/roles/ensure-sphinx/tasks/main.yaml
+++ b/roles/ensure-sphinx/tasks/main.yaml
@@ -1,5 +1,7 @@
1# NOTE: gettext command is provided by gettext-base package,
2# so we need to check a command provided by gettext package.
1- name: Check for gettext installed 3- name: Check for gettext installed
2 command: bash -c "type gettext" 4 command: bash -c "type msgmerge"
3 ignore_errors: yes 5 ignore_errors: yes
4 register: gettext_exists 6 register: gettext_exists
5 7