Merge "packages var renamed to packages_list"

This commit is contained in:
Zuul 2021-03-26 04:30:36 +00:00 committed by Gerrit Code Review
commit 5795fa8f43
3 changed files with 4 additions and 4 deletions

View File

@ -6,5 +6,5 @@ tripleoclient: >-
python2-tripleoclient
{%- endif -%}
packages:
packages_list:
- "{{ tripleoclient }}"

View File

@ -23,7 +23,7 @@
include_role:
name: check_latest_packages_version
vars:
packages:
packages_list:
- patch
- name: Working Detection of Update for Pam package
@ -31,7 +31,7 @@
- include_role:
name: check_latest_packages_version
vars:
packages:
packages_list:
- pam
rescue:

View File

@ -14,7 +14,7 @@
check_package_update:
package: "{{ item }}"
pkg_mgr: "{{ ansible_pkg_mgr }}"
with_items: "{{ packages }}"
with_items: "{{ packages_list }}"
register: updates
- name: Check if current version is the latest one