bifrost/playbooks/roles/bifrost-prep-for-install
Julia Kreger 3266e0c09e Follow up edits for 196398
Change-Id: I9a4c82461c952f04efe0635c6e7bab4d3ed5fb8f
2015-06-30 07:22:09 -04:00
..
defaults Split GIT downloads and OpenStack CI logic out 2015-06-29 10:10:27 -04:00
meta Split GIT downloads and OpenStack CI logic out 2015-06-29 10:10:27 -04:00
tasks Split GIT downloads and OpenStack CI logic out 2015-06-29 10:10:27 -04:00
README.md Follow up edits for 196398 2015-06-30 07:22:09 -04:00

bifrost-prep-for-install

This role performs the intial file downloads to allow a user to install bifrost. It does not require internet access, as new URLs or local filesystem clones of repositories can be defined.

Requirements

This role requires:

  • Ansible 1.9

Internet access was originally a requirement for installation, however access is no longer required. See doc/source/offline-install.rst for details on installing without it.

Role Variables

git_root: The base location for cloned git repositories. This defaults to "/tmp".

ironicclient_git_url: URL for ironicclient, defaults to: https://git.openstack.org/openstack/python-ironicclient

shade_git_url: URL for shade, defaults to: https://git.openstack.org/openstack-infra/shade

ironic_git_url: URL for ironic, defaults to: https://git.openstack.org/openstack/ironic

ironicclient_git_folder: The folder to clone ironicclient to if missing, defaults to: "{{ git_root}}/ironicclient.git"

ironic_git_folder: The folder to clone ironic to if missing, default to: "{{ git_root}}/ironic.git"

shade_git_folder: The folder to clone shade to if missing, defaults to: "{{ git_root}}/shade.git"

ironicclient_git_branch: Branch to install, defaults to "master".

ironic_git_branch: Branch to install, defaults to "master".

shade_git_branch: Branch to install, defaults to "master".

Dependencies

None at this time.

Example Playbook

  • hosts: localhost connection: local name: "Install Ironic" sudo: yes gather_facts: yes roles:
    • { role: bifrost-prep-for-install, when: skip_install is not defined }
    • role: ironic-install cleaning: false testing: true

License

Copyright (c) 2015 Hewlett-Packard Development Company, L.P.

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.

Author Information