Paul Belanger 8bbca0e120
Simplify pip install options
Using the omit template, we can now better control which pip options
we set.

Change-Id: I8a3abc0b623a75e1f695441f96b922a2a72e41f7
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-08-28 13:11:48 -04:00

22 lines
830 B
YAML

# Copyright 2015 Red Hat, 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.
---
- name: Install zuul using pip.
become: yes
pip:
extra_args: "{{ zuul_pip_extra_args|default(omit) }}"
name: "{{ zuul_pip_name }}"
version: "{{ zuul_pip_version|default(omit) }}"
virtualenv: "{{ zuul_pip_virtualenv|default(omit) }}"