New stuffs again
This commit is contained in:
@ -6,6 +6,8 @@
|
||||
|
||||
vars:
|
||||
lock_pkgs:
|
||||
- httpd-2.4.6-80.el7
|
||||
- httpd-tools-2.4.6-80.el7
|
||||
- leapp-0.17.0-2.el7_9
|
||||
- leapp-upgrade-el7toel8-0.20.0-13.el7_9
|
||||
- leapp-upgrade-el7toel8-deps-0.20.0-13.el7_9
|
||||
@ -13,16 +15,11 @@
|
||||
- python2-leapp-0.17.0-2.el7_9
|
||||
|
||||
tasks:
|
||||
- name: Install yum-plugin-versionlock
|
||||
ansible.builtin.package:
|
||||
name: yum-plugin-versionlock
|
||||
state: present
|
||||
# - name: Install yum-plugin-versionlock
|
||||
# ansible.builtin.package:
|
||||
# name: yum-plugin-versionlock
|
||||
# state: present
|
||||
|
||||
- name: "Version lock: {{ item }}" # noqa: command-instead-of-module
|
||||
ansible.builtin.command: "yum versionlock {{ item }}"
|
||||
register: r_lock_pkgs
|
||||
- name: Check provided list of packages and versionlock as needed
|
||||
ansible.builtin.include_tasks: tasks/lock_pkg.yml
|
||||
loop: "{{ lock_pkgs }}"
|
||||
|
||||
# - name: Debug r_lock_pkgs
|
||||
# ansible.builtin.debug:
|
||||
# var: r_lock_pkgs
|
||||
|
Reference in New Issue
Block a user