ensure-sphinx: use failed_when: false instead of ignore_errors: true

Change-Id: I597bed7ea062b584b4613533b477f5c69404996a
This commit is contained in:
Albin Vass 2020-04-27 20:40:42 +02:00
parent 3487b54baf
commit b1b2dca456

View File

@ -4,7 +4,7 @@
# so we need to check a command provided by gettext package. # so we need to check a command provided by gettext package.
- name: Check for gettext installed - name: Check for gettext installed
command: bash -c "type msgmerge" command: bash -c "type msgmerge"
ignore_errors: yes failed_when: false
register: gettext_exists register: gettext_exists
# TODO(mordred) Make this a list of known binary depends that sphinx needs # TODO(mordred) Make this a list of known binary depends that sphinx needs