cf1dfcc3bf
Starting in Ansible 2.0, the get_url [1] module provides the ability for a checksum to be provided to the get_url module which will be verified against the local destination file and the task skipped if it matches. [1] http://docs.ansible.com/ansible/get_url_module.html This patch implements the use of this functionality. The ability to ignore a venv download failure is also removed as this is not necessary or desirable. It is better for the download to fail and the playbook execution to stop immediately so that the failure point is exposed. Change-Id: I0e33da0dc601eaa4af06c03a20803fcd01405531
40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
---
|
|
# Copyright 2014, Rackspace US, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
galaxy_info:
|
|
author: rcbops
|
|
description: Installation and setup of horizon
|
|
company: Rackspace
|
|
license: Apache2
|
|
min_ansible_version: 2.0
|
|
platforms:
|
|
- name: Ubuntu
|
|
versions:
|
|
- trusty
|
|
- xenial
|
|
categories:
|
|
- cloud
|
|
- python
|
|
- horizon
|
|
- development
|
|
- openstack
|
|
dependencies:
|
|
- pip_install
|
|
- role: apt_package_pinning
|
|
when:
|
|
- ansible_pkg_mgr == 'apt'
|
|
- galera_client
|
|
- openstack_openrc
|