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: I6f61216d318ea1adbcbf544066e9c71205fa5daf
This commit is contained in:
Jesse Pretorius 2016-08-30 18:32:27 +01:00
parent 794974c5a0
commit 581ce2053c
6 changed files with 20 additions and 12 deletions

View File

@ -0,0 +1,8 @@
---
upgrade:
- The variable ``ironic_api_apt_packages`` has been renamed to
``ironic_api_distro_packages``.
- The variable ``ironic_conductor_apt_packages`` has been renamed to
``ironic_conductor_distro_packages``.
- The variable ``ironic_conductor_standalone_apt_packages`` has been renamed to
``ironic_conductor_standalone_distro_packages``.

View File

@ -17,4 +17,4 @@
when:
- ansible_pkg_mgr == 'apt'
vars:
apt_pkgs: "{{ ironic_api_apt_packages }}"
apt_pkgs: "{{ ironic_api_distro_packages }}"

View File

@ -17,11 +17,11 @@
when:
- ansible_pkg_mgr == 'apt'
vars:
apt_pkgs: "{{ ironic_conductor_apt_packages }}"
apt_pkgs: "{{ ironic_conductor_distro_packages }}"
- include: ironic_install_apt.yml
when:
- ansible_pkg_mgr == 'apt'
- ironic_standalone
vars:
apt_pkgs: "{{ ironic_conductor_standalone_apt_packages }}"
apt_pkgs: "{{ ironic_conductor_standalone_distro_packages }}"

View File

@ -28,7 +28,7 @@
- ansible_pkg_mgr == 'apt'
- ironic_developer_mode | bool
vars:
apt_pkgs: "{{ ironic_developer_apt_packages }}"
apt_pkgs: "{{ ironic_developer_mode_distro_packages }}"
- name: Clone requirements git repository
git:

View File

@ -15,15 +15,15 @@
cache_timeout: 600
ironic_developer_apt_packages:
ironic_developer_mode_distro_packages:
- git-core
ironic_api_apt_packages:
ironic_api_distro_packages:
- apache2
- apache2-utils
- libapache2-mod-wsgi
ironic_conductor_apt_packages:
ironic_conductor_distro_packages:
- libxml2-dev
- syslinux
- syslinux-common
@ -35,7 +35,7 @@ ironic_conductor_apt_packages:
- ipmitool
- tftpd-hpa
ironic_conductor_standalone_apt_packages:
ironic_conductor_standalone_distro_packages:
- isc-dhcp-server
ironic_pxelinux_path: "/usr/lib/syslinux/pxelinux.0"

View File

@ -15,16 +15,16 @@
cache_timeout: 600
ironic_developer_apt_packages:
ironic_developer_mode_distro_packages:
- git-core
- libffi-dev
ironic_api_apt_packages:
ironic_api_distro_packages:
- apache2
- apache2-utils
- libapache2-mod-wsgi
ironic_conductor_apt_packages:
ironic_conductor_distro_packages:
- libxml2-dev
- syslinux
- syslinux-common
@ -37,7 +37,7 @@ ironic_conductor_apt_packages:
- ipmitool
- tftpd-hpa
ironic_conductor_standalone_apt_packages:
ironic_conductor_standalone_distro_packages:
- isc-dhcp-server
ironic_pxelinux_path: "/usr/lib/PXELINUX/pxelinux.0"