summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-10-19 17:11:53 +0000
committerGerrit Code Review <review@openstack.org>2018-10-19 17:11:53 +0000
commit5b51d9dfe533d5e273d4c9fd2a32ae2ae65be894 (patch)
tree9ebe78542b5a0e081ae42111e1563375ce3239ae
parentd1465e8b1b5ba8af4619f7bb95551cbdbb42c059 (diff)
parent8fb6c01f68f1f94a00f7d017488172846acc5b72 (diff)
Merge "ensure-sphinx: do not attempt a gettext install if exists"
-rw-r--r--roles/ensure-sphinx/tasks/main.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/ensure-sphinx/tasks/main.yaml b/roles/ensure-sphinx/tasks/main.yaml
index 2a8f7da..9b10539 100644
--- a/roles/ensure-sphinx/tasks/main.yaml
+++ b/roles/ensure-sphinx/tasks/main.yaml
@@ -1,9 +1,15 @@
1- name: Check for gettext installed
2 command: bash -c "type gettext"
3 ignore_errors: yes
4 register: gettext_exists
5
1# TODO(mordred) Make this a list of known binary depends that sphinx needs 6# TODO(mordred) Make this a list of known binary depends that sphinx needs
2- name: Install gettext package 7- name: Install gettext package
3 package: 8 package:
4 name: gettext 9 name: gettext
5 state: present 10 state: present
6 become: yes 11 become: yes
12 when: gettext_exists.rc != 0
7 13
8- name: Find Constraints File 14- name: Find Constraints File
9 include_role: 15 include_role: