Ansible role to manage OpenStackSDK
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

43 lines
1.5 KiB

# 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.
---
# tasks/main.yaml
openstacksdk_task_manager:
- install
- config
# tasks/config.yaml
openstacksdk_user_name: root
openstacksdk_user_group: root
openstacksdk_user_home: /root
openstacksdk_file_clouds_yaml_dest: "{{ openstacksdk_user_home }}/.config/openstack/clouds.yaml"
openstacksdk_file_clouds_yaml_group: "{{ openstacksdk_user_group }}"
openstacksdk_file_clouds_yaml_mode: 0640
openstacksdk_file_clouds_yaml_owner: "{{ openstacksdk_user_name }}"
openstacksdk_file_clouds_yaml_src: root/.config/openstack/clouds.yaml.j2
openstacksdk_git_dest: "{{ ansible_user_dir }}/src/git.openstack.org/openstack/openstacksdk"
openstacksdk_git_uri: https://git.openstack.org/openstack/openstacksdk
openstacksdk_git_version: master
# openstacksdk_git_update
openstacksdk_install_method: pip
openstacksdk_pip_name: openstacksdk
# openstacksdk_pip_executable:
# openstacksdk_pip_extra_args:
# openstacksdk_pip_version:
# openstacksdk_pip_virtualenv_python:
# openstacksdk_pip_virtualenv: