Rename package lists (and related vars) appropriately

In order to make it easier to differentiate between the lists of
python packages, distribution packages, downloaded packages,
package pins and other similar variables the variable names are
being changed to ensure that they have a more explicit suffix
that defines the purpose and makes the naming more consistent.

This is to facilitate a lookup plugin which will be able to look
up all the package lists and present them as a consolidated piece
of data which may be used for artifact preparation.

Change-Id: I29e93c889f1450c33529563687a74914d8b03006
This commit is contained in:
Jesse Pretorius 2016-08-30 17:04:39 +01:00
parent dac0c091d9
commit 66e8dc3b6e
8 changed files with 13 additions and 9 deletions

View File

@ -0,0 +1,4 @@
---
upgrade:
- The variable ``glance_apt_packages`` has been renamed to
``glance_distro_packages``.

View File

@ -34,4 +34,4 @@
until: install_packages|success
retries: 5
delay: 2
with_items: "{{ glance_apt_packages }}"
with_items: "{{ glance_distro_packages }}"

View File

@ -50,4 +50,4 @@
- name: Ensure image uploaded
fail:
msg: "Image upload failed"
when: (glance_images is not defined) or (glance_images.cirros is not defined) or (glance_images.cirros.id is not defined)
when: (glance_images is not defined) or (glance_images.cirros is not defined) or (glance_images.cirros.id is not defined)

View File

@ -29,4 +29,4 @@
galera_wsrep_node_name: "{{ inventory_hostname }}"
galera_wsrep_provider_options:
- { option: "gcache.size", value: "32M" }
galera_server_id: "{{ inventory_hostname | string_2_int }}"
galera_server_id: "{{ inventory_hostname | string_2_int }}"

View File

@ -30,4 +30,4 @@
port: "{{ ansible_ssh_port | default('22') }}"
host: "{{ ansible_ssh_host | default(inventory_hostname) }}"
search_regex: OpenSSH
delay: 1
delay: 1

View File

@ -29,4 +29,4 @@
- include: test-install-keystone.yml
# Install Glance
- include: test-install-glance.yml
- include: test-install-glance.yml

View File

@ -16,8 +16,8 @@
cache_timeout: 600
# Common apt packages
glance_apt_packages:
glance_distro_packages:
- rpcbind
- rsync
- git
- nfs-common
- nfs-common

View File

@ -16,8 +16,8 @@
cache_timeout: 600
# Common apt packages
glance_apt_packages:
glance_distro_packages:
- rpcbind
- rsync
- git
- nfs-common
- nfs-common