
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
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.
Description
Languages
Jinja
48.1%
Python
37.3%
Shell
14.6%