hotfix for the dnf broken caused by installing libnsl
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
- name: "update all"
|
||||
yum:
|
||||
name: '*'
|
||||
conf_file: "{{ rpm_repo_config_path }}"
|
||||
state: latest
|
||||
|
||||
- name: "hotfix for dnf broken"
|
||||
shell:
|
||||
cmd: "dnf upgrade --refresh rpm glibc && rm /var/lib/rpm/.rpm.lock && dnf upgrade dnf"
|
||||
|
||||
- name: "install tcpdump"
|
||||
yum:
|
||||
name: tcpdump
|
||||
@@ -10,12 +20,6 @@
|
||||
conf_file: "{{ rpm_repo_config_path }}"
|
||||
state: present
|
||||
|
||||
- name: "install libnsl"
|
||||
yum:
|
||||
name: libnsl
|
||||
conf_file: "{{ rpm_repo_config_path }}"
|
||||
state: present
|
||||
|
||||
- name: "install iproute"
|
||||
yum:
|
||||
name: iproute
|
||||
@@ -76,10 +80,17 @@
|
||||
conf_file: "{{ rpm_repo_config_path }}"
|
||||
state: present
|
||||
|
||||
- name: "install libnsl"
|
||||
yum:
|
||||
name: libnsl
|
||||
conf_file: "{{ rpm_repo_config_path }}"
|
||||
state: present
|
||||
|
||||
- name: "install perf"
|
||||
yum:
|
||||
name: perf
|
||||
conf_file: "{{ rpm_repo_config_path }}"
|
||||
state: present
|
||||
releasever: 8.6
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user