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: Ib3d6dea38bf4d570e6b9501f9cb89632639d586e
This commit is contained in:
Jesse Pretorius 2016-08-30 16:21:01 +01:00
parent 3cfa722a3a
commit 736969d00c
6 changed files with 14 additions and 10 deletions

View File

@ -39,6 +39,6 @@ memcached_connections: 1024
memcached_threads: 4
memcached_file_limits: "{{ memcached_connections | int + 1024 }}"
memcached_packages: []
memcached_test_packages: []
memcached_distro_packages: []
memcached_test_distro_packages: []
install_test_packages: False

View File

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

View File

@ -34,7 +34,7 @@
until: install_packages|success
retries: 5
delay: 2
with_items: "{{ memcached_packages }}"
with_items: "{{ memcached_distro_packages }}"
- name: Install apt packages for testing
apt:
@ -44,5 +44,5 @@
until: install_test_packages|success
retries: 5
delay: 2
with_items: "{{ memcached_test_packages }}"
with_items: "{{ memcached_test_distro_packages }}"
when: install_test_packages|bool

View File

@ -28,7 +28,7 @@
until: install_yum_packages | success
retries: 5
delay: 2
with_items: "{{ memcached_packages }}"
with_items: "{{ memcached_distro_packages }}"
- name: Install yum packages for testing
yum:
@ -38,5 +38,5 @@
until: install_yum_test_packages | success
retries: 5
delay: 2
with_items: "{{ memcached_test_packages }}"
with_items: "{{ memcached_test_distro_packages }}"
when: install_test_packages|bool

View File

@ -15,10 +15,10 @@
memcached_user: memcache
memcached_packages:
memcached_distro_packages:
- memcached
memcached_test_packages:
memcached_test_distro_packages:
- netcat
memcached_conf_template: memcached.conf.debian.j2

View File

@ -15,10 +15,10 @@
memcached_user: memcached
memcached_packages:
memcached_distro_packages:
- memcached
memcached_test_packages:
memcached_test_distro_packages:
- nc
memcached_conf_template: memcached.redhat.j2