Browse Source

Merge "packages var renamed to packages_list"

changes/19/774619/18
Zuul 4 weeks ago
committed by Gerrit Code Review
parent
commit
5795fa8f43
3 changed files with 4 additions and 4 deletions
  1. +1
    -1
      validations_common/roles/check_latest_packages_version/defaults/main.yml
  2. +2
    -2
      validations_common/roles/check_latest_packages_version/molecule/default/converge.yml
  3. +1
    -1
      validations_common/roles/check_latest_packages_version/tasks/main.yml

+ 1
- 1
validations_common/roles/check_latest_packages_version/defaults/main.yml View File

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

+ 2
- 2
validations_common/roles/check_latest_packages_version/molecule/default/converge.yml 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:


+ 1
- 1
validations_common/roles/check_latest_packages_version/tasks/main.yml 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


Loading…
Cancel
Save