ansible-role-boto3/tasks/install.yaml
Gonéri Le Bouder 822a950d43 import of the role
Change-Id: Id2cd819def3e83f92fcd8126a74aa19690dcf4c8
2020-05-04 09:27:16 -04:00

21 lines
762 B
YAML

# Copyright 2020 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 boto3 using pip
become: true
become_user: "{{ boto3_user_name }}"
pip:
name: "{{ boto3_pip_name }}"
virtualenv: "{{ boto3_pip_virtualenv|default(omit) }}"