From 0b6085c00709c7138f862a41441306fb6a6bafee Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Tue, 30 Aug 2016 18:04:39 +0100 Subject: [PATCH] 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: Ib4b177992753ad53b8bdb7a7652f1fbc6cc5267d --- handlers/main.yml | 2 +- .../notes/package-list-name-changes-4a42f561dac5754e.yaml | 4 ++++ tasks/install-apt.yml | 2 +- vars/debian.yml | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 releasenotes/notes/package-list-name-changes-4a42f561dac5754e.yaml diff --git a/handlers/main.yml b/handlers/main.yml index 5ee6a4f4..cb1e223c 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -16,4 +16,4 @@ - name: Restart apache2 service: name: "apache2" - state: "restarted" \ No newline at end of file + state: "restarted" diff --git a/releasenotes/notes/package-list-name-changes-4a42f561dac5754e.yaml b/releasenotes/notes/package-list-name-changes-4a42f561dac5754e.yaml new file mode 100644 index 00000000..5854d31f --- /dev/null +++ b/releasenotes/notes/package-list-name-changes-4a42f561dac5754e.yaml @@ -0,0 +1,4 @@ +--- +upgrade: + - The variable ``horizon_apt_packages`` has been renamed to + ``horizon_distro_packages``. diff --git a/tasks/install-apt.yml b/tasks/install-apt.yml index 25102c07..a274aa7d 100644 --- a/tasks/install-apt.yml +++ b/tasks/install-apt.yml @@ -34,4 +34,4 @@ until: install_packages|success retries: 5 delay: 2 - with_items: "{{ horizon_apt_packages }}" + with_items: "{{ horizon_distro_packages }}" diff --git a/vars/debian.yml b/vars/debian.yml index 677eacc4..4eafce7e 100644 --- a/vars/debian.yml +++ b/vars/debian.yml @@ -16,7 +16,7 @@ ## APT Cache options cache_timeout: 600 -horizon_apt_packages: +horizon_distro_packages: - apache2 - apache2-utils - cron # required by the Ansible cron module