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:
parent
3cfa722a3a
commit
736969d00c
@ -39,6 +39,6 @@ memcached_connections: 1024
|
|||||||
memcached_threads: 4
|
memcached_threads: 4
|
||||||
memcached_file_limits: "{{ memcached_connections | int + 1024 }}"
|
memcached_file_limits: "{{ memcached_connections | int + 1024 }}"
|
||||||
|
|
||||||
memcached_packages: []
|
memcached_distro_packages: []
|
||||||
memcached_test_packages: []
|
memcached_test_distro_packages: []
|
||||||
install_test_packages: False
|
install_test_packages: False
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- The variable ``memcached_apt_packages`` has been renamed to
|
||||||
|
``memcached_distro_packages``.
|
@ -34,7 +34,7 @@
|
|||||||
until: install_packages|success
|
until: install_packages|success
|
||||||
retries: 5
|
retries: 5
|
||||||
delay: 2
|
delay: 2
|
||||||
with_items: "{{ memcached_packages }}"
|
with_items: "{{ memcached_distro_packages }}"
|
||||||
|
|
||||||
- name: Install apt packages for testing
|
- name: Install apt packages for testing
|
||||||
apt:
|
apt:
|
||||||
@ -44,5 +44,5 @@
|
|||||||
until: install_test_packages|success
|
until: install_test_packages|success
|
||||||
retries: 5
|
retries: 5
|
||||||
delay: 2
|
delay: 2
|
||||||
with_items: "{{ memcached_test_packages }}"
|
with_items: "{{ memcached_test_distro_packages }}"
|
||||||
when: install_test_packages|bool
|
when: install_test_packages|bool
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
until: install_yum_packages | success
|
until: install_yum_packages | success
|
||||||
retries: 5
|
retries: 5
|
||||||
delay: 2
|
delay: 2
|
||||||
with_items: "{{ memcached_packages }}"
|
with_items: "{{ memcached_distro_packages }}"
|
||||||
|
|
||||||
- name: Install yum packages for testing
|
- name: Install yum packages for testing
|
||||||
yum:
|
yum:
|
||||||
@ -38,5 +38,5 @@
|
|||||||
until: install_yum_test_packages | success
|
until: install_yum_test_packages | success
|
||||||
retries: 5
|
retries: 5
|
||||||
delay: 2
|
delay: 2
|
||||||
with_items: "{{ memcached_test_packages }}"
|
with_items: "{{ memcached_test_distro_packages }}"
|
||||||
when: install_test_packages|bool
|
when: install_test_packages|bool
|
||||||
|
@ -15,10 +15,10 @@
|
|||||||
|
|
||||||
memcached_user: memcache
|
memcached_user: memcache
|
||||||
|
|
||||||
memcached_packages:
|
memcached_distro_packages:
|
||||||
- memcached
|
- memcached
|
||||||
|
|
||||||
memcached_test_packages:
|
memcached_test_distro_packages:
|
||||||
- netcat
|
- netcat
|
||||||
|
|
||||||
memcached_conf_template: memcached.conf.debian.j2
|
memcached_conf_template: memcached.conf.debian.j2
|
||||||
|
@ -15,10 +15,10 @@
|
|||||||
|
|
||||||
memcached_user: memcached
|
memcached_user: memcached
|
||||||
|
|
||||||
memcached_packages:
|
memcached_distro_packages:
|
||||||
- memcached
|
- memcached
|
||||||
|
|
||||||
memcached_test_packages:
|
memcached_test_distro_packages:
|
||||||
- nc
|
- nc
|
||||||
|
|
||||||
memcached_conf_template: memcached.redhat.j2
|
memcached_conf_template: memcached.redhat.j2
|
||||||
|
Loading…
Reference in New Issue
Block a user