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: I8cc6c61ec7130e4b691481c23b9c115a2a995732
This commit is contained in:
parent
8dbc811c69
commit
8bc6f64003
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- The variable ``cinder_apt_packages`` has been renamed to
|
||||||
|
``cinder_distro_packages``.
|
||||||
|
- The variable ``cinder_volume_apt_packages`` has been renamed to
|
||||||
|
``cinder_volume_distro_packages``.
|
||||||
|
- The variable ``cinder_lvm_volume_apt_packages`` has been renamed to
|
||||||
|
``cinder_lvm_volume_distro_packages``.
|
@ -34,7 +34,7 @@
|
|||||||
until: install_packages|success
|
until: install_packages|success
|
||||||
retries: 5
|
retries: 5
|
||||||
delay: 2
|
delay: 2
|
||||||
with_items: "{{ cinder_apt_packages }}"
|
with_items: "{{ cinder_distro_packages }}"
|
||||||
|
|
||||||
- name: Install apt packages common between different backends
|
- name: Install apt packages common between different backends
|
||||||
apt:
|
apt:
|
||||||
@ -44,7 +44,7 @@
|
|||||||
until: install_packages|success
|
until: install_packages|success
|
||||||
retries: 5
|
retries: 5
|
||||||
delay: 2
|
delay: 2
|
||||||
with_items: "{{ cinder_volume_apt_packages }}"
|
with_items: "{{ cinder_volume_distro_packages }}"
|
||||||
when:
|
when:
|
||||||
- inventory_hostname in groups['cinder_volume']
|
- inventory_hostname in groups['cinder_volume']
|
||||||
|
|
||||||
@ -56,7 +56,7 @@
|
|||||||
until: install_packages|success
|
until: install_packages|success
|
||||||
retries: 5
|
retries: 5
|
||||||
delay: 2
|
delay: 2
|
||||||
with_items: "{{ cinder_lvm_volume_apt_packages }}"
|
with_items: "{{ cinder_lvm_volume_distro_packages }}"
|
||||||
when:
|
when:
|
||||||
- inventory_hostname in groups['cinder_volume']
|
- inventory_hostname in groups['cinder_volume']
|
||||||
- cinder_backend_lvm_inuse | bool
|
- cinder_backend_lvm_inuse | bool
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
cache_timeout: 600
|
cache_timeout: 600
|
||||||
|
|
||||||
# Common apt packages
|
# Common apt packages
|
||||||
cinder_apt_packages:
|
cinder_distro_packages:
|
||||||
- libpq-dev
|
- libpq-dev
|
||||||
- libkmod-dev
|
- libkmod-dev
|
||||||
- libkmod2
|
- libkmod2
|
||||||
@ -27,10 +27,10 @@ cinder_apt_packages:
|
|||||||
- zlib1g
|
- zlib1g
|
||||||
- zlibc
|
- zlibc
|
||||||
|
|
||||||
cinder_volume_apt_packages:
|
cinder_volume_distro_packages:
|
||||||
- qemu-utils
|
- qemu-utils
|
||||||
|
|
||||||
cinder_lvm_volume_apt_packages:
|
cinder_lvm_volume_distro_packages:
|
||||||
- dmeventd
|
- dmeventd
|
||||||
- parted
|
- parted
|
||||||
- tgt
|
- tgt
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
cache_timeout: 600
|
cache_timeout: 600
|
||||||
|
|
||||||
# Common apt packages
|
# Common apt packages
|
||||||
cinder_apt_packages:
|
cinder_distro_packages:
|
||||||
- rpcbind
|
- rpcbind
|
||||||
- rsync
|
- rsync
|
||||||
- git
|
- git
|
||||||
@ -32,10 +32,10 @@ cinder_apt_packages:
|
|||||||
- libffi-dev
|
- libffi-dev
|
||||||
- libssl-dev
|
- libssl-dev
|
||||||
|
|
||||||
cinder_volume_apt_packages:
|
cinder_volume_distro_packages:
|
||||||
- qemu-utils
|
- qemu-utils
|
||||||
|
|
||||||
cinder_lvm_volume_apt_packages:
|
cinder_lvm_volume_distro_packages:
|
||||||
- dmeventd
|
- dmeventd
|
||||||
- parted
|
- parted
|
||||||
- tgt
|
- tgt
|
||||||
|
Loading…
Reference in New Issue
Block a user