Install curl for translations update

We need curl setup in order to run the pull_catalog command that is
a part of Horizon itself.

This is only required for our translations update path, and isn't
required usually.

Change-Id: Id5ae1c742511910f033800d6d9dc18cc3b71842e
This commit is contained in:
Andy McCrae 2017-06-19 13:21:36 +01:00
parent 0fa5b59428
commit d520752ea8

View File

@ -13,6 +13,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.
- name: Ensure curl is installed
package:
name: curl
state: "{{ horizon_package_state }}"
register: install_packages
until: install_packages|success
retries: 5
delay: 2
- name: Perform a Horizon Zanata Pull Catalog
command: "{{ horizon_bin }}/horizon-manage.py pull_catalog"
args: