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
This commit is contained in:
Akihiro Motoki 2018-10-21 17:24:21 +09:00
parent 346dfe8d68
commit a4f4351013
1 changed files with 3 additions and 1 deletions

View File

@ -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