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: I1844250699418ed92b643ff661418a26147ad722
This commit is contained in:
Jesse Pretorius 2016-08-30 16:26:16 +01:00
parent 0c21ee93b0
commit cb25f0b227
6 changed files with 9 additions and 5 deletions

View File

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

View File

@ -39,6 +39,6 @@
until: install_packages|success
retries: 5
delay: 2
with_items: "{{ openstack_host_packages | deprecated(openstack_host_apt_packages, 'openstack_host_apt_packages', 'openstack_host_packages', 'Ocata') }}"
with_items: "{{ openstack_host_distro_packages }}"
tags:
- openstack-apt-packages

View File

@ -21,7 +21,7 @@
until: install_packages|success
retries: 5
delay: 2
with_items: "{{ openstack_host_packages }}"
with_items: "{{ openstack_host_distro_packages }}"
tags:
- openstack-yum-packages
- openstack-packages

View File

@ -44,7 +44,7 @@ openstack_host_kernel_modules:
- x_tables
## Base packages
openstack_host_packages:
openstack_host_distro_packages:
- bridge-utils
- '@Development Tools'
- curl

View File

@ -51,7 +51,7 @@ openstack_host_kernel_modules:
- x_tables
## Base packages
openstack_host_packages:
openstack_host_distro_packages:
- apparmor-utils
- apt-transport-https
- bridge-utils

View File

@ -46,7 +46,7 @@ openstack_host_kernel_modules:
- x_tables
## Base packages
openstack_host_packages:
openstack_host_distro_packages:
- apparmor-utils
- apt-transport-https
- bridge-utils