Collect dnf module related infos
For dnf module specific issues, where one module is getting disabled and others getting enabled will give a better insight to debug podman or package related issues. Change-Id: Iddc80d30b060b78185b8f4b9b119abc2bbd58ff8 Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
This commit is contained in:
parent
2eea37c360
commit
37392fc9b1
|
@ -213,6 +213,12 @@ artcl_commands:
|
|||
cmd: "{{ ansible_pkg_mgr }} list installed"
|
||||
repolist:
|
||||
cmd: "{{ ansible_pkg_mgr }} repolist -v"
|
||||
dnf-module-list:
|
||||
cmd: "{{ ansible_pkg_mgr }} module list"
|
||||
when: ansible_distribution_major_version|int >= 8
|
||||
dnf-module-list-enabled:
|
||||
cmd: "{{ ansible_pkg_mgr }} module list --enabled"
|
||||
when: ansible_distribution_major_version|int >= 8
|
||||
record_available_packages:
|
||||
cmd: |
|
||||
for i in `{{ ansible_pkg_mgr }} repolist enabled -v | grep Repo-id | awk '{print $3}' | awk -F / '{print $1}'`;do
|
||||
|
|
Loading…
Reference in New Issue