Role os_glance for OpenStack-Ansible
Go to file
Jesse Pretorius c61739dd38 Optimise pip install tasks
Unlike the Ansible apt module, the Ansible pip module does not
recognise a with_items list and process all the items at once.

To optimise the pip install tasks, this patch replaces the use
of with_items with a join filter so that the pip install task
does an install with all the packages in a list, ensuring that
the execution is one action instead of many.

Change-Id: I12ee579625ee6ba493b970601b62f14614ce8658
2016-07-18 15:56:03 +01:00
defaults Only install to virtual environment 2016-07-07 18:22:19 +00:00
doc Update sphinx configuration 2016-07-12 16:52:38 +01:00
handlers Ansible 2.x - Address deprecation warning of bare variables 2016-04-22 09:13:41 -04:00
meta Remove pip_lock_down dependency 2016-06-07 23:24:15 -05:00
releasenotes Update sphinx configuration 2016-07-12 16:52:38 +01:00
tasks Optimise pip install tasks 2016-07-18 15:56:03 +01:00
templates Update paste, policy and rootwrap configurations 2016-07-14 2016-07-14 18:49:04 +01:00
tests Clean up container cache prep in tests 2016-06-17 18:33:43 +01:00
vars Implement Ubuntu 16.04 support with SystemD 2016-05-31 14:37:59 +00:00
.gitignore Remove duplicates from .gitignore 2016-07-15 11:53:25 +10:00
.gitreview Implement base configuration for independent repository 2016-03-02 07:28:55 +00:00
CONTRIBUTING.rst [DOCS] Cleanup the role docs for consistency and clarity 2016-03-07 17:03:49 -05:00
LICENSE Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
other-requirements.txt Add dependencies for paramiko 2.0 2016-05-03 08:55:44 +01:00
README.rst Cleanup/standardize usage of tags 2016-07-12 16:55:32 -04:00
run_tests.sh Add dependencies for paramiko 2.0 2016-05-03 08:55:44 +01:00
setup.cfg Implement base configuration for independent repository 2016-03-02 07:28:55 +00:00
setup.py Updated from global requirements 2016-07-15 03:57:48 +00:00
test-requirements.txt Updated from global requirements 2016-07-15 03:57:48 +00:00
tox.ini Use plugins repo version of the human_log callback plugin 2016-07-15 14:02:12 +01:00
Vagrantfile Adding Vagrantfile for local developer testing 2016-03-11 11:23:17 -05:00

OpenStack-Ansible Glance

tags

openstack, glance, cloud, ansible

category

*nix

This Ansible role installs and configures OpenStack glance and glance registry.

This role will install the following Upstart services:
  • glance-api
  • glance-registry
- name: Install glance server
  hosts: glance_all
  user: root
  roles:
    - { role: "os_glance", tags: [ "os-glance" ] }
  vars:
    external_lb_vip_address: 172.16.24.1
    internal_lb_vip_address: 192.168.0.1
    glance_galera_address: "{{ internal_lb_vip_address }}"

Tags

This role supports two tags: glance-install and glance-config

The glance-install tag can be used to install and upgrade.

The glance-config tag can be used to manage configuration.