b9545d93ee
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: I7f0274d332b81b9d597b5f40a428f9a51030bbd4
43 lines
1.1 KiB
YAML
43 lines
1.1 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 cinder
|
|
company: Rackspace
|
|
license: Apache2
|
|
min_ansible_version: 2.0
|
|
platforms:
|
|
- name: Ubuntu
|
|
versions:
|
|
- trusty
|
|
- xenial
|
|
- name: EL
|
|
versions:
|
|
- 7
|
|
categories:
|
|
- cloud
|
|
- python
|
|
- cinder
|
|
- development
|
|
- openstack
|
|
dependencies:
|
|
- pip_install
|
|
- role: apt_package_pinning
|
|
when:
|
|
- ansible_pkg_mgr == 'apt'
|
|
- galera_client
|
|
- openstack_openrc
|